Lines Matching refs:fd
326 static int setNoDelay(int fd) in setNoDelay() argument
330 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); in setNoDelay()
672 int fd; in processIncoming() local
688 fd = netState->listenSock; in processIncoming()
689 if (fd >= 0) in processIncoming()
690 FD_SET(fd, &readfds); in processIncoming()
691 fd = netState->clientSock; in processIncoming()
692 if (fd >= 0) in processIncoming()
693 FD_SET(fd, &readfds); in processIncoming()
694 fd = netState->wakePipe[0]; in processIncoming()
695 if (fd >= 0) { in processIncoming()
696 FD_SET(fd, &readfds); in processIncoming()