Lines Matching refs:serverAddr
245 PRNetAddr serverAddr;
264 memset(&serverAddr, 0, sizeof(PRNetAddr));
265 serverAddr.inet.family = PR_AF_INET;
266 serverAddr.inet.port = PR_htons(PORT);
267 serverAddr.inet.ip = PR_htonl(PR_INADDR_ANY);
269 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) {
346 PRNetAddr serverAddr;
360 memset(&serverAddr, 0, sizeof(PRNetAddr));
361 serverAddr.inet.family = PR_AF_INET;
362 serverAddr.inet.port = PR_htons(PORT);
363 serverAddr.inet.ip = PR_htonl(PR_INADDR_LOOPBACK);
381 &serverAddr,