HomeSort by: relevance | last modified time | path
    Searched refs:huntsocket (Results 1 - 5 of 5) sorted by relevancy

  /src/games/hunt/hunt/
connect.c 55 (void) write(huntsocket, &uid, sizeof(uid));
57 (void) write(huntsocket, name, namelen);
58 (void) write(huntsocket, &team, 1);
59 (void) write(huntsocket, &wire_status, sizeof(wire_status));
61 (void) write(huntsocket, Buf, WIRE_NAMELEN);
74 (void) write(huntsocket, &mode, sizeof mode);
hunt.c 79 /*static*/ int huntsocket; variable in typeref:typename:int
298 huntsocket = socket(SOCK_FAMILY, SOCK_STREAM, 0);
299 if (huntsocket < 0)
302 if (setsockopt(huntsocket, SOL_SOCKET, SO_USELOOPBACK,
306 if (connect(huntsocket, (struct sockaddr *) &Daemon,
315 } while (close(huntsocket) == 0);
321 if ((huntsocket = socket(SOCK_FAMILY, SOCK_STREAM, 0)) < 0)
332 if (connect(huntsocket, &Daemon, DAEMON_SIZE) < 0) {
339 (void) close(huntsocket);
340 if ((huntsocket = socket(SOCK_FAMILY, SOCK_STREAM
    [all...]
hunt_private.h 53 extern int huntsocket;
playit.c 94 result = read(huntsocket, &version, sizeof(version));
192 (void) close(huntsocket);
208 set[0].fd = huntsocket;
223 icnt = read(huntsocket, ibuf, sizeof ibuf);
274 (void) write(huntsocket, inp, count);
438 result = read(huntsocket, &version, sizeof(version));
448 if (write(huntsocket, Send_message, strlen(Send_message)) < 0) {
453 (void) close(huntsocket);
otto.c 220 (void) write(huntsocket, command, comlen);

Completed in 13 milliseconds