Deal with the Solaris lack of SUN_LEN... use sizeof() instead.
The sizeof acts on THIS: /* * Definitions for UNIX IPC domain. */ struct sockaddr_un { sa_family_t sun_family; /* AF_UNIX */ char sun_path[108]; /* path name (gag) */ }; I second that gag.
Please register or sign in to comment