How does Unix domain socket work?

How does Unix domain socket work?
Answer
Unix sockets are
bidirectional
. This means that every side can perform both read and write operations. While, FIFOs are unidirectional: it has a writer peer and a reader peer. Unix sockets create less overhead and communication is faster, than by localhost IP sockets.
 

Tìm kiếm

Back
Top