WHAT IS SOCKET CALLED IN LINUX


=>> FIRST WE HAVE TO KNOW EXACTLY, WHAT IS SOCKET? 

A socket is just a logical endpoint for communication. They exist on the transport layer. You can send and receive data on a socket, you can bind and listen to a socket. A socket is specific to a protocol, machine, and port, and is addressed as such in the header of a packet.


==> SO NOW WHAT IS SOCKET CALLED IN LINUX?


A socket is a file for processes to exchange data. You can see more data about it using the netstat, lsof, and fuser commands.


==>WIKIPEDIA DIFINITION

“A Unix domain socket or IPC socket (inter-process communication socket) is a data communications endpoint for exchanging data between processes executing on the same host operating system. Like named pipes, Unix domain sockets support transmission of a reliable stream of bytes (SOCK_STREAM, compare to TCP).”

Post a Comment

0 Comments