Using socket API on IPhone
- by dl3nar
Hi,
for a little project I have to do the following task on my IPhone:
open a TCP socket
send a command to the server
shutdown the WRITE part of the connection
read the response from the server
close the connection
I'm not experienced with socket programming - I've just started with network programming and I've already used the CFStream interface. But obviously streams are not adequate for this task.
Who can point me in the right direction? I tried to find a tutorial on Apples website about sockets, but there is nothing. Regards, Thomas