Searched defs:listen_addr (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c4101 struct sockaddr_in listen_addr; local
4126 memset(&listen_addr, 0, sizeof(listen_addr));
4127 listen_addr.sin_family = AF_INET;
4128 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
4129 listen_addr.sin_port = 0; /* kernel choses port. */
4130 if (PerlSock_bind(listener, (struct sockaddr *) &listen_addr,
4131 sizeof(listen_addr)) == -1)
4150 size = sizeof(listen_addr);
4151 acceptor = PerlSock_accept(listener, (struct sockaddr *) &listen_addr,
[all...]

Completed in 26 milliseconds