1 #include "syshdrs.h" 2 3 #if !defined(NO_UNIX_DOMAIN_SOCKETS) && !defined(NO_SIGNALS) 4 5 int UConnectByName(int sfd,const char * const addrStr,const int tlen)6UConnectByName(int sfd, const char * const addrStr, const int tlen) 7 { 8 int result; 9 struct sockaddr_un remoteAddr; 10 int ualen; 11 12 ualen = MakeSockAddrUn(&remoteAddr, addrStr); 13 result = UConnect(sfd, &remoteAddr, ualen, tlen); 14 return (result); 15 } /* UConnectByName */ 16 17 #endif 18 19