2. sockets (end points)
logical connection
A socket is an endpoint for communication between two devices.
Ends points of two-way communications i.e., logical connections
between (a pair of sockets),
Communication using IPv4 or IPv6;
Use sockets to send data between different IPv4 / IPv6 endpoints;
3. Used to send and receive data.
Can be Server Or client.
server socket
connection request
client socket
Server sockets
Wait for requests to come in over
the network.
Client sockets
Used to send and receive data.