I would like to use the iOS device as a TCP client, but I cannot find a clear API / guide / sample on how to do this. I tried SimpleNetworkStreamsand PictureSharing, but both of them use Bonjour. I can easily make UDP connections by learning through UDPEcho, but I cannot find a good sample UDPEchofor TCP. I want a simple example of connecting to a server and print on the screen all incoming messages from the server - this.
Thank!
source
share