Sockets are an extension of one of Unix’s most important ideas. They are an innovation of Berkeley Unix that allows programmer to treat a connection in network as another stream onto which bytes can be written to and from which bytes can be read.
Socket basics:
Definition : A socket is a connection between two hosts.
Operations:
A socket can perform the following operations.
- Connect to a remote machine.
- Send data.
- Receive data.
- Close a machine.
- Bind a port.
- Listening for information data.
- Accept connections from remote machines on bound port.
Sockets client are simply called as sockets and sockets for server side are called as server socket. Hence for client side socket class is being used and for server side.Server socket class is being used.

COMMENTS
No Comments