TestLib: Windows Socket API

Click to open or copy the files for the TestLib sample.

This library sample demonstrates basic sockets programming with the Windows Sockets API using the NWLink transport.

This library is used by all the NWlink samples.

Building SDK Samples

This sample uses the following keywords:

atoi; dos_net_perror; dos_net_strerror; dump_defaults; exit; get_error_text; get_hex_byte; get_hex_string; get_network_number; get_node_number; get_socket_family; get_socket_number; mem_check; memcpy; memset; messagebox; parse_cmd_line; print_netaddr; print_network_num; print_node_num; print_saddr; print_socket_num; print_wsa; printf; sprintf; stricmp; strnicmp; strupr; usage; win_net_perror; wsastartup