Lines Matching refs:num_sockets
135 static size_t num_sockets = 0; variable
1863 if(MAX_SOCKETS == num_sockets) { in accept_connection()
1916 all_sockets[num_sockets] = msgsock; in accept_connection()
1917 num_sockets += 1; in accept_connection()
2155 num_sockets = 1; in main()
2294 for(socket_idx = num_sockets - 1; socket_idx >= 1; --socket_idx) { in main()
2298 char *end = (char *) (all_sockets + num_sockets); in main()
2300 num_sockets -= 1; in main()
2311 for(socket_idx = 0; socket_idx < num_sockets; ++socket_idx) { in main()
2353 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx) { in main()
2406 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx) in main()