Searched refs:listenAddress (Results 1 – 1 of 1) sorted by relevance
51 sockaddr_in listenAddress; in tcp_pair() local55 init_sockaddr(listenAddress, INADDR_LOOPBACK, 0); in tcp_pair()57 if (bind(listenSocket, (sockaddr*)&listenAddress, sizeof(sockaddr_in)) != 0) in tcp_pair()61 if (getsockname(listenSocket, (sockaddr*)&listenAddress, &length) != 0) in tcp_pair()71 init_sockaddr(address, INADDR_LOOPBACK, ntohs(listenAddress.sin_port)); in tcp_pair()