Lines Matching refs:num_sockets
133 static size_t num_sockets = 0; variable
1846 if(MAX_SOCKETS == num_sockets) { in accept_connection()
1899 all_sockets[num_sockets] = msgsock; in accept_connection()
1900 num_sockets += 1; in accept_connection()
2182 num_sockets = 1; in main()
2331 for(socket_idx = num_sockets - 1; socket_idx >= 1; --socket_idx) { in main()
2335 char *end = (char *) (all_sockets + num_sockets); in main()
2337 num_sockets -= 1; in main()
2348 for(socket_idx = 0; socket_idx < num_sockets; ++socket_idx) { in main()
2394 for(socket_idx = 1; (socket_idx < num_sockets) && active; ++socket_idx) { in main()
2461 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx) in main()