HomeSort by relevance Sort by last modified time
    Searched refs:net_acceptsocket (Results 1 - 6 of 6) sorted by null

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

Completed in 206 milliseconds