Lines Matching defs:addr
87 PRNetAddr addr;
130 addr.inet.family = AF_INET;
131 addr.inet.ip = PR_htonl(INADDR_ANY);
132 addr.inet.port = PR_htons(0);
133 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) {
138 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) {
143 listenPort1 = PR_ntohs(addr.inet.port);
155 addr.inet.family = AF_INET;
156 addr.inet.ip = PR_htonl(INADDR_ANY);
157 addr.inet.port = PR_htons(0);
158 if (PR_Bind(listenSock2, &addr) == PR_FAILURE) {
163 if (PR_GetSockName(listenSock2, &addr) == PR_FAILURE) {
168 listenPort2 = PR_ntohs(addr.inet.port);