Lines Matching refs:listener
804 srvr_sockaddr_union_t listener; in sockdaemon() local
853 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
854 listener.sa4.sin_family = AF_INET; in sockdaemon()
855 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
856 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
857 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
861 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
862 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
863 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
864 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
865 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon()