24 trace(
"UNIXAddress::UNIXAddress(char* name_)");
29 if ( (len = strlen(socket_name_)) >
sizeof(
m_address.sun_path) ) {
30 EL((
ASSAERR,
"Socket path name is too long (%d bytes)\n", len));
33 strcpy (
m_address.sun_path, socket_name_);
39 trace(
"UNIXAddress::UNIXAddress(SA_UN*)");
44 size_t len = strlen(sa_un->sun_path);
46 if ( len >
sizeof (
m_address.sun_path) - 1 ) {
47 EL((
ASSAERR,
"Socket path name is too long (%d bytes)\n", len));
50 strcpy(
m_address.sun_path, sa_un->sun_path);