PDA

View Full Version : Cocoa sockets




Samppaa
Aug 28, 2010, 06:04 AM
I want to do a little server client architecture program so I have many clients and one server where the clients ask information and server returns a packet to them, I don't need very low level sockets, I only need to send information from server to clients and vice versa. I've done this kind of program on windows many times, but no idea how to do it in cocoa :S Thanks in advance!



elppa
Aug 28, 2010, 07:12 AM
Is this any help (http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html)?

chown33
Aug 28, 2010, 11:07 AM
I've used Cocoa Async Socket. It works well.
http://code.google.com/p/cocoaasyncsocket/

You should already know about Cocoa event loops, delegates, etc. because it uses them without explaining them first.