Is socket a file?

Is socket a file?
Answer
Socket. A socket is
a special file used for inter-process communication, which enables communication between two processes. In addition to sending data, processes can send file descriptors across a Unix domain socket connection using the sendmsg() and recvmsg() system calls.
 

Tìm kiếm

Back
Top