I searched this term on net sockaddr_un I am trying my hands from beejs network programming guide.
http://beej.us/guide/bgnet/output/ht...age/bgnet.html
In this guide it is no where mentioned about struct sockaddr_un
where as I see in linux/un.h
following struct
Code:
struct sockaddr_un {
sa_family_t sun_family; /* AF_UNIX */
char sun_path[UNIX_PATH_MAX]; /* pathname */
};
What is the above used for?