I'm trying to implement tcp connection between my开发者_高级运维 Ipod as client and PC as server. I use QTcpServer to provide a server. What is the best way to realize the connection?
Using CFSocket. An awesome cocoa class has been written to wrap CFSocket for you asynchronously! It supports both UDP and TCP, I am using it myself in an IM application.
AsyncSocket on iphone
精彩评论