Searched refs:http_sock (Results 1 – 1 of 1) sorted by relevance
54 static int http_sock, con_sock; variable110 http_sock = socket(AF_INET, SOCK_STREAM, 0); in init_servconnection()111 if (http_sock < 0) { in init_servconnection()118 if (bind(http_sock, (struct sockaddr *) & server, sizeof(server)) < 0) { in init_servconnection()135 con_sock = accept(http_sock, (struct sockaddr *) & source, &lg); in wait_connection()471 if (listen(http_sock,15) < 0) exit(1); in main()