Searched refs:serverAddr (Results 1 - 9 of 9) sorted by relevance
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | multiacc.c | 87 PRNetAddr serverAddr; local 119 memset(&serverAddr, 0, sizeof(serverAddr)); 120 status = PR_InitializeNetAddr(PR_IpAddrAny, 0, &serverAddr); 125 status = PR_Bind(dummySock, &serverAddr); 141 memset(&serverAddr, 0, sizeof(serverAddr)); 142 status = PR_InitializeNetAddr(PR_IpAddrAny, 0, &serverAddr); 147 status = PR_Bind(listenSock, &serverAddr); 152 status = PR_GetSockName(listenSock, &serverAddr); [all...] |
H A D | select2.c | 128 PRNetAddr serverAddr; local 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; local 216 memset(&serverAddr, 0, sizeof(PRNetAddr)); 217 serverAddr.inet.family = AF_INET; 218 serverAddr [all...] |
H A D | server_test.c | 277 PRNetAddr serverAddr; local 286 memset(&serverAddr, 0, sizeof(PRNetAddr)); 287 serverAddr.inet.family = PR_AF_INET; 288 serverAddr.inet.port = PR_htons(PORT); 289 serverAddr.inet.ip = PR_htonl(PR_INADDR_ANY); 291 if ( PR_Bind(listenSocket, &serverAddr) == PR_FAILURE) { 368 PRNetAddr serverAddr; local 382 memset(&serverAddr, 0, sizeof(PRNetAddr)); 383 serverAddr.inet.family = PR_AF_INET; 384 serverAddr [all...] |
H A D | servr_kk.c | 244 PRNetAddr serverAddr; local 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; local 359 memset(&serverAddr, 0, sizeof(PRNetAddr)); 360 serverAddr.inet.family = PR_AF_INET; 361 serverAddr [all...] |
H A D | servr_ku.c | 245 PRNetAddr serverAddr; local 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; local 360 memset(&serverAddr, 0, sizeof(PRNetAddr)); 361 serverAddr.inet.family = PR_AF_INET; 362 serverAddr [all...] |
H A D | servr_uk.c | 247 PRNetAddr serverAddr; local 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; local 362 memset(&serverAddr, 0, sizeof(PRNetAddr)); 363 serverAddr.inet.family = PR_AF_INET; 364 serverAddr [all...] |
H A D | servr_uu.c | 245 PRNetAddr serverAddr; local 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; local 360 memset(&serverAddr, 0, sizeof(PRNetAddr)); 361 serverAddr.inet.family = PR_AF_INET; 362 serverAddr [all...] |
H A D | writev.c | 61 PRNetAddr serverAddr; local 85 rv = PR_InitializeNetAddr(PR_IpAddrLoopback, BASE_PORT, &serverAddr); 99 es = PR_EnumerateHostEnt(es, &host, BASE_PORT, &serverAddr); 157 rv = PR_Connect(clientSock, &serverAddr, timeout);
|
H A D | accept.c | 95 static PRNetAddr serverAddr; variable 144 serverAddr.inet.family = PR_AF_INET; 145 serverAddr.inet.port = listenAddr.inet.port; 146 serverAddr.inet.ip = PR_htonl(PR_INADDR_LOOPBACK); 164 if ((rv = PR_Connect(sock, &serverAddr,
|
Completed in 80 milliseconds