Hi

I need some help with a program I am writing. What I need to be able to do is send a command across a specific network port (eg. 2124) to a specific ip address. I already have writen the recieving code (for the iPhone os) and accepts commands like:
Code:
filefound("Name of file",filetype,size)
All this is to be sent in plain text and once received the iPhone will then send a command like:
Code:
nextfile()
I really need some help here. Thanks in advance

Josh