PDA

View Full Version : UDP Ports in Cocoa




daze
Aug 5, 2007, 02:31 AM
Hi guys,

I am new to Cocoa programming, but used to programming in C/C++. How do I go about reading data on a specific UDP port? I have a book on Cocoa but it does not cover any UDP/TCP stuff.

Thanks.



robbieduncan
Aug 5, 2007, 05:35 AM
There is no Cocoa API for this as ALL the normal POSIX C APIs are available. Use those or one of the Socket wrappers (free, third party)

daze
Aug 5, 2007, 12:09 PM
There is no Cocoa API for this as ALL the normal POSIX C APIs are available. Use those or one of the Socket wrappers (free, third party)

Robbie,

What's a good site to find wrappers and other code?

kainjow
Aug 5, 2007, 01:05 PM
http://www.cocoadev.com/index.pl?SocketClasses