Socket programming is a way for two computers or programs to talk to each other over a network (like the internet or a local network).
beginner tutorial that I used here
More about socket programming here
Programming with TCP&IP sockets
There are a few steps involved in using sockets:
- Create the socket
- Identify the socket
- On the server, wait for an incoming connection
- Send and receive messages
- Close the socket