Why does UNIX require a domain socket?

Quốc Ân

New member
Why does UNIX require a domain socket?
Answer
For UNIX domain sockets,
file and directory permissions restrict which processes on the host can open the file, and thus communicate with the server
. Therefore, UNIX domain sockets provide an advantage over Internet sockets (to which anyone can connect, unless extra authentication logic is implemented).
 

Tìm kiếm

Back
Top