Searched refs:net_acceptsocket (Results 1 – 6 of 6) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | net_wipx.cpp | 31 static int net_acceptsocket = -1; // socket for fielding new connections variable 142 if (net_acceptsocket != -1) in WIPX_Listen() 144 if ((net_acceptsocket = WIPX_OpenSocket (net_hostport)) == -1) in WIPX_Listen() 150 if (net_acceptsocket == -1) in WIPX_Listen() 152 WIPX_CloseSocket (net_acceptsocket); in WIPX_Listen() 153 net_acceptsocket = -1; in WIPX_Listen() 223 if (net_acceptsocket == -1) in WIPX_CheckNewConnections() 226 if (pioctlsocket (ipxsocket[net_acceptsocket], FIONREAD, &available) == -1) in WIPX_CheckNewConnections() 229 return net_acceptsocket; in WIPX_CheckNewConnections()
|
D | net_mp.cpp | 35 static int net_acceptsocket = -1; // socket for fielding new connections variable 133 if (net_acceptsocket != -1) in MPATH_Listen() 135 if ((net_acceptsocket = MPATH_OpenSocket (net_hostport)) == -1) in MPATH_Listen() 141 if (net_acceptsocket == -1) in MPATH_Listen() 143 MPATH_CloseSocket (net_acceptsocket); in MPATH_Listen() 144 net_acceptsocket = -1; in MPATH_Listen() 254 if (net_acceptsocket == -1) in MPATH_CheckNewConnections() 257 if (recvfrom (net_acceptsocket, buf, 4, MSG_PEEK, NULL, NULL) > 0) in MPATH_CheckNewConnections() 258 return net_acceptsocket; in MPATH_CheckNewConnections()
|
D | net_udp.cpp | 45 static int net_acceptsocket = -1; // socket for fielding new connections variable 211 if (net_acceptsocket != -1) in UDP_Listen() 213 if ((net_acceptsocket = UDP_OpenSocket (net_hostport)) == -1) in UDP_Listen() 219 if (net_acceptsocket == -1) in UDP_Listen() 221 UDP_CloseSocket (net_acceptsocket); in UDP_Listen() 222 net_acceptsocket = -1; in UDP_Listen() 335 if (net_acceptsocket == -1) in UDP_CheckNewConnections() 338 if (ioctl (net_acceptsocket, FIONREAD, &available) == -1) in UDP_CheckNewConnections() 341 return net_acceptsocket; in UDP_CheckNewConnections()
|
D | net_wins.cpp | 29 static int net_acceptsocket = -1; // socket for fielding new connections variable 264 if (net_acceptsocket != -1) in WINS_Listen() 267 if ((net_acceptsocket = WINS_OpenSocket (net_hostport)) == -1) in WINS_Listen() 273 if (net_acceptsocket == -1) in WINS_Listen() 275 WINS_CloseSocket (net_acceptsocket); in WINS_Listen() 276 net_acceptsocket = -1; in WINS_Listen() 385 if (net_acceptsocket == -1) in WINS_CheckNewConnections() 388 if (precvfrom (net_acceptsocket, buf, sizeof(buf), MSG_PEEK, NULL, NULL) > 0) in WINS_CheckNewConnections() 390 return net_acceptsocket; in WINS_CheckNewConnections()
|
D | net_bw.cpp | 235 static int net_acceptsocket = -1; // socket for fielding new connections variable 370 if (net_acceptsocket != -1) in BW_Listen() 372 if ((net_acceptsocket = BW_OpenSocket (net_hostport)) == -1) in BW_Listen() 378 if (net_acceptsocket == -1) in BW_Listen() 380 BW_CloseSocket (net_acceptsocket); in BW_Listen() 381 net_acceptsocket = -1; in BW_Listen() 486 if (net_acceptsocket == 0) in BW_CheckNewConnections() 491 regs.x.bx = net_acceptsocket; in BW_CheckNewConnections() 495 return net_acceptsocket; in BW_CheckNewConnections()
|
D | net_ipx.cpp | 132 static int net_acceptsocket = -1; variable 319 if (net_acceptsocket != -1) in IPX_Listen() 321 if ((net_acceptsocket = IPX_OpenSocket (net_hostport)) == -1) in IPX_Listen() 327 if (net_acceptsocket == -1) in IPX_Listen() 329 IPX_CloseSocket (net_acceptsocket); in IPX_Listen() 330 net_acceptsocket = -1; in IPX_Listen() 436 if (net_acceptsocket == -1) in IPX_CheckNewConnections() 440 if (lma->socketbuffer[net_acceptsocket][n].ecb.inUse == 0) in IPX_CheckNewConnections() 441 return net_acceptsocket; in IPX_CheckNewConnections()
|