Hope the client example was simple to follow. I would advise you to go through the video and sample code again if there is any confusion. Also with this video i conclude this introductory section on socket programming. In later sections we will be using these concepts to build more complex programmers like port scanners and sniffers.
The easiest way to pick up socket programming (i guess this applies to everything in life :) ) is to practice and practice. Use the above code and first try modifying them to build more complex client-server interactions. Once you are confident enough, start writing a small ftp client-server from scratch.
I would also suggest the following links for further reading:
1. Beej Guide to Network Programming
2. Windows Socket programming
I hope this tutorial has been fun. It would be great to know your feedback here. |