|
|
@ -133,6 +133,7 @@ SOCKET create_remote (int network,char transport, const char* address,int port,s
|
|
|
|
}
|
|
|
|
}
|
|
|
|
remote_addr_struct = (struct sockaddr_storage *)results->ai_addr;
|
|
|
|
remote_addr_struct = (struct sockaddr_storage *)results->ai_addr;
|
|
|
|
network = inet_to_int(results->ai_family);
|
|
|
|
network = inet_to_int(results->ai_family);
|
|
|
|
|
|
|
|
free(port_str);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
create_addr(network,address,port,remote_addr_struct);
|
|
|
|
create_addr(network,address,port,remote_addr_struct);
|
|
|
|
}
|
|
|
|
}
|
|
|
|