25th March 2011 , 08:11 AM #1 Hardcore FaaDoO Engineer
Gender: : Female
City : Noida
C/C++ Socket Programming Tutorial - Writing Client Server Programs Using Sockets
What is “Sockets”?
- An Application Programming Interface (API) used for InterProcess Communications (IPC).
- A well defined method of connecting two processes, locally or across a network.
- Protocol and Language Independent
- Often referred to as Berkeley Sockets or BSD Sockets
Sockets are a protocol independent method of creating a connection between processes. Sockets can be either I connection based or connectionless: Is a connection established before communication or does each packet describe the destination?
- I packet based or streams based: Are there message boundaries
or is it one stream?
- I reliable or unreliable. Can messages be lost, duplicated,
reordered, or corrupted?
Find the complete tutorial attached!
Tags for this Thread