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

  /external/quake/quake/src/QW/client/
net_udp.c 162 int newsocket; local
170 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
175 if( bind (newsocket, (void *)&sadr, sizeof(sadr)) == -1)
178 close(newsocket);
181 close(newsocket);
237 int newsocket; local
242 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
244 if (ioctl (newsocket, FIONBIO, (char *)&_true) == -1)
258 if( bind (newsocket, (void *)&address, sizeof(address)) == -1)
261 return newsocket;
    [all...]
net_wins.c 138 int newsocket; local
146 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
151 if( bind (newsocket, (void *)&sadr, sizeof(sadr)) == -1)
154 close(newsocket);
157 close(newsocket);
233 int newsocket; local
238 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
241 if (ioctlsocket (newsocket, FIONBIO, &_true) == -1)
257 if( bind (newsocket, (void *)&address, sizeof(address)) == -1)
260 return newsocket;
    [all...]
  /external/quake/quake/src/WinQuake/
net_mp.cpp 151 int newsocket; local
155 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
158 if (ioctlsocket (newsocket, FIONBIO, &_true) == -1)
164 if( bind (newsocket, (void *)&address, sizeof(address)) == -1)
167 return newsocket;
170 closesocket (newsocket);
net_wipx.cpp 161 int newsocket; local
171 if ((newsocket = psocket (AF_IPX, SOCK_DGRAM, NSPROTO_IPX)) == INVALID_SOCKET)
174 if (pioctlsocket (newsocket, FIONBIO, &_true) == -1)
177 if (psetsockopt(newsocket, SOL_SOCKET, SO_BROADCAST, (char *)&_true, sizeof(_true)) < 0)
184 if( bind (newsocket, (void *)&address, sizeof(address)) == 0)
186 ipxsocket[handle] = newsocket;
193 pclosesocket (newsocket);
net_udp.cpp 229 int newsocket; local
236 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
239 if (ioctl (newsocket, FIONBIO, (char *)&_true) == -1)
245 if( bind (newsocket, &address.sockaddr, sizeof(address.in)) == -1)
248 return newsocket;
251 close (newsocket);
net_wins.cpp 283 int newsocket; local
287 if ((newsocket = psocket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
290 if (pioctlsocket (newsocket, FIONBIO, &_true) == -1)
296 if( bind (newsocket, (void *)&address, sizeof(address)) == 0)
297 return newsocket;
301 pclosesocket (newsocket);
  /gdk/samples/quake/jni/
net_udp.cpp 229 int newsocket; local
236 if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
239 if (ioctl (newsocket, FIONBIO, (char *)&_true) == -1)
245 if( bind (newsocket, &address.sockaddr, sizeof(address.in)) == -1)
248 return newsocket;
251 close (newsocket);

Completed in 338 milliseconds