Lines Matching refs:serverAddr
128 PRNetAddr serverAddr;
135 memset(&serverAddr, 0, sizeof(PRNetAddr));
136 serverAddr.inet.family = AF_INET;
137 serverAddr.inet.port = PR_htons(PORT);
138 serverAddr.inet.ip = PR_htonl(INADDR_ANY);
140 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) {
209 PRNetAddr serverAddr;
216 memset(&serverAddr, 0, sizeof(PRNetAddr));
217 serverAddr.inet.family = AF_INET;
218 serverAddr.inet.port = PR_htons(PORT);
219 serverAddr.inet.ip = PR_htonl(INADDR_ANY);
221 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) {