Lines Matching refs:serverAddr
247 PRNetAddr serverAddr;
266 memset(&serverAddr, 0, sizeof(PRNetAddr));
267 serverAddr.inet.family = PR_AF_INET;
268 serverAddr.inet.port = PR_htons(PORT);
269 serverAddr.inet.ip = PR_htonl(PR_INADDR_ANY);
271 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) {
348 PRNetAddr serverAddr;
362 memset(&serverAddr, 0, sizeof(PRNetAddr));
363 serverAddr.inet.family = PR_AF_INET;
364 serverAddr.inet.port = PR_htons(PORT);
365 serverAddr.inet.ip = PR_htonl(PR_INADDR_LOOPBACK);
383 &serverAddr,