int addr_fam = AF_INET; /* AF_INET6 behaves the same */ int socket_type = SOCK_STREAM; SOCKET conn_socket; conn_socket = socket(addr_fam, socket_type, 0); /* Open a socket */
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)