LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   sockaddr_un ?? (https://www.linuxquestions.org/questions/programming-9/sockaddr_un-217066/)

blackzone 08-13-2004 05:13 AM

sockaddr_un ??
 
was asked to maintain someone's code.

see sockaddr_un used. Is it very similar, almost identical to sockaddr_in?

can sockaddr_un be used to setup connection between two linux computer on a lan?

aluser 08-13-2004 06:36 AM

struct sockaddr_un is for a UNIX domain socket. They're only for communication between processes on the same system, and they normally exist in the file system. reading and writing them works like a TCP socket.


All times are GMT -5. The time now is 06:09 PM.