The above links will help you learn about sockets.
What you're looking to do is..
Create a socket (using socket() ).
Setup destination for this socket, and the port you want to make this socket connect to (check the links).
Try connecting to another socket at the destination end (using connect() ).
Send information to this socket (using send() )
The above is based on TCP/IP, so you can create a TCP/IP 3-way handshake, and verify that data has been transferred correctly.
Using UDP would just send the data and we wouldnt know if it has been received or not.
Any questions or elaboration needed.
Just reply.
Cheers.
Last edited by dr4g; Jul 16th, 2007 at 5:05 am.
GardCMS :: Open Source CMS :: Gardcms.org