I have a TCP server running on a machine. (implemented in Java). I need to connect to this server from the iPhone and send data to the server, as well as receive data on the iphone when the server pushes me the data. Therefore, I need to receive notifications when data is issued from the server.
Is there a way to do this in Objective-C (socket programming). Although I googled I could not find a solution. But I saw CFSocket, etc. Anyone have a solution?
objective-c iphone ipad
Charith nidarsha
source share