Lines Matching defs:sock
447 CRSocket sock = conn->tcp_socket;
452 if ( (int) sock + 1 > max_fd )
453 max_fd = (int) sock + 1;
454 FD_SET( sock, &read_fds );
456 sock = conn->udp_socket;
457 if ( (int) sock + 1 > max_fd )
458 max_fd = (int) sock + 1;
459 FD_SET( sock, &read_fds );
492 int sock;
557 sock = conn->tcp_socket;
558 if ( !FD_ISSET( sock, &read_fds ) )
561 if ( __tcpip_read_exact( sock, &len, sizeof(len)) <= 0 )
590 if ( __tcpip_read_exact( sock, buf + 1, len ) <= 0 )