I’ve had trouble finding simple guides/examples for basic sockets in Objective-C (using NSSocketPort with NSFileHandle or using CFSocket/CSNetwork). Can anyone recommend a guide or a useful example? I would appreciate this greatly! I have tried to use this, but it is incomplete. Thanks!
P.S. I have been stuck in this part of my project for awhile and am starting to get desperate for some help.
The easiest way I’ve found to do this is the Cocoa Async Socket class:
https://github.com/robbiehanson/CocoaAsyncSocket
It’s pretty straight forward to use, there’s good html documentation included.