Lines Matching refs:temp_socket
862 SOCKET temp_socket;
868 temp_socket = socket(res->ai_family,
872 if (temp_socket == INVALID_SOCKET){
885 fprintf(where,"create_data_socket: socket %d obtained...\n",temp_socket);
906 set_sock_buffer (temp_socket, SEND_BUFFER, lss_size_req, &lss_size);
907 set_sock_buffer (temp_socket, RECV_BUFFER, lsr_size_req, &lsr_size);
914 if (setsockopt(temp_socket,
932 if (setsockopt(temp_socket,
992 if(setsockopt(temp_socket,
1020 if (setsockopt(temp_socket,
1040 if (setsockopt(temp_socket,
1051 if (bind(temp_socket,
1064 return(temp_socket);
1077 kludge_socket_options(int temp_socket)
1080 set_sock_buffer(temp_socket, SEND_BUFFER, lss_size_req, &lss_size);
1081 set_sock_buffer(temp_socket, RECV_BUFFER, lsr_size_req, &lsr_size);
1099 if(setsockopt(temp_socket,