Lines Matching refs:serverAddr
244 PRNetAddr serverAddr;
263 memset(&serverAddr, 0, sizeof(PRNetAddr));
264 serverAddr.inet.family = PR_AF_INET;
265 serverAddr.inet.port = PR_htons(PORT);
266 serverAddr.inet.ip = PR_htonl(PR_INADDR_ANY);
268 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) {
345 PRNetAddr serverAddr;
359 memset(&serverAddr, 0, sizeof(PRNetAddr));
360 serverAddr.inet.family = PR_AF_INET;
361 serverAddr.inet.port = PR_htons(PORT);
362 serverAddr.inet.ip = PR_htonl(PR_INADDR_LOOPBACK);
380 &serverAddr,