Professional Documents
Culture Documents
Vivek Ramachandran
Pre - Requisites
Basics of IP / TCP / UDP C programming Basics Data Structures basics Compilation of code on Linux / Unix using gcc etc Same principles can be used to code on windows as well using the winsock library.
An endpoint (telephone) for communication is created on both ends. An address (phone no) is assigned to both ends to distinguish them from the rest of the network. One of the endpoints (caller) initiate a connection to the other. The other end (receiver) point waits for the communication to start. Once a connection has been made, data is exchanged (talk). Once data has been exchanged the endpoints are closed (hang up).
Done ! ! Phew .
This is all the theory you need to know about socket programming !!! Finer points will be more clear when we being coding . So let the games begin :D