Where do I put a domain socket in Unix?

Nguyễn Hào

New member
Where do I put a domain socket in Unix?
Answer
Unix sockets only live while the program is running, so
/tmp/ is usually an alright place for them to live, some programs chose to put them into /var/run/ (since while they are in essence “temporary”, they have persistent names).
 

Tìm kiếm

Back
Top