Windows Network & .NET (C#, VB .NET and C++/CLI)  |  Windows Socket (Winsock2) & C

 

 

 

 

The C and Windows Socket 2 Useful Program Example Index Page

 

The following list provides a direct links to the Winsock2 program examples that were discussed in this tutorial.

  1. TCP Receiver/Server With select() Example

  2. TCP Sender/client Program Example

  3. Connectionless Communication: UDP Sender & Receiver Example

  4. The Winsock Catalog & WSASocket() with WSAPROTOCOL_INFO Program Examples

  5. Using AI_NUMERICHOST & WSAAddressToString() and WSAStringToAddress() Program Examples

  6. The getprotobyname() & getprotobyport() Program Examples

  7. The Client-Server IP Version–Independent & The IPv6 Server Program Example

  8. The IPv6 Client Program Example

  9. Infrared Client and Server Sockets Examples

  10. IPX/SPX Client-server Program Examples

  11. NetBIOS: Netbios() Function Program Examples

  12. Another Day Another Netbios Example

  13. Finding the Netbios Name and Server Program Examples

  14. The Netbios Client Program

  15. The AppleTalk Sender and Receiver Example

  16. Another AppleTalk Example

  17. Asynchronous Transfer Mode (ATM) Program Example

  18. Bluetooth Device Query Program Example

  19. Bluetooth Device Query Using Win32 PSDK Program Examples

  20. Bluetooth Querying Remote Device Program Example

  21. Another Example Querying Bluetooth Devices

  22. Registering a Bluetooth Service Steps and Example

  23. Registering a Bluetooth Service Program Example

  24. Bluetooth Receiver and Sender Program Examples

  25. The Microsoft SDK Classic Program Example

  26. The select() and Test Client Program Examples

  27. The WSAAsyncSelect() Model Program Example

  28. The WSAEventSelect server/receiver model Program Example

  29. The Overlapped Model Program Example

  30. The Overlapped Example Using AcceptEx()

  31. The Overlapped I/O Model With Callback Routines Example

  32. The Overlapped I/O Model With Callback Routines – AcceptEx()

  33. The Completion Port Model Program Example

  34. The I/O Completion Port IPv4/IPv6 Server Program Example

  35. The Multicast and IP_TTL Option Program Example

  36. The IP_TOS and Type-of-Service Bit and SIO_ADDRESS_LIST_QUERY Program Examples

  37. Setting the IOCTL SIO_ENABLE_CIRCULAR_QUEUEING and SIO_GET_ATM_ADDRESS Program Examples

  38. The SIO_GET_BROADCAST_ADDRESS and SO_KEEPALIVE_VALS Program Example

  39. Using the IOCTLS SIO_RCVALL, SIO_RCVALL_MCAST and SIO_RCVALL_IGMPMCAST Program Example

  40. Using the SIO_ROUTING_INTERFACE_QUERY, SO_ACCEPTCONN and SO_BROADCAST Option Program Examples

  41. The SO_MAX_MSG_SIZE, SO_PROTOCOL_INFO, SO_RCVTIMEO and SO_TYPE Option Program Examples

  42. Service Registration Example

 

  1. WSALookupServiceBegin() and WSALookupServiceNext() Example

  2. Querying DNS Example

  3. Another Example: HOSTENT, gethostbyname() and gethostbyaddr()

  4. Querying Network Location Awareness (NLA) Example

  5. IPv4 Multicast Example

  6. IPv4 with Multicast Sourcing Example

  7. IPv6 Multicast Example

  8. Reliable Multicasting (RM) Example

  9. ATM and Multicast Example

  10. QOS Templates Program Example

  11. QOS and TCP Program Example

  12. QOS, UDP and ATM Program Examples

  13. ICMP and Ping Program Example

  14. IPv4 and IPv6 Ping Program Example

  15. Traceroute Program Example

  16. The UDP RAW Socket Program Example

  17. RAS Program Example

  18. ARP Program Example

  19. Changing the IP and IPConfig Program Example

  20. IPConfig for IPv6 Example

  21. DHCP Renew/Release and Retrieving the IPv4 routing table with GetIpForwardTable() Program Examples

  22. Program Examples on  Using GetIpAddrTable() and AddIPAddress() Functions

  23. Program Examples on  Using GetAdaptersInfo() and GetAdaptersAddresses() Functions

  24. Program Examples on  Using GetInterfaceInfo(), GetIfEntry() and GetIfTable() Functions

  25. Getting an Interface Table and SetIpForwardEntry() Program Examples

  26. Program Example on Using GetIpInterfaceTable() Function and Getting IP Statistics

  27. Program Example Using GetTcpTable() Function

  28. Mailslots Client-server Program Examples

  29. Name Pipes Client Program Examples

  30. The Name Pipe Overlapped and Multithreaded Pipe Server Example

  31. Another Named Pipe Server and Client Using Overlapped I/O

  32. Named Pipe Server Using Completion Routines Example

  33. ...

  34. ...

Translate, email to friends and share:

 

 

Windows Network & .NET (C#, VB .NET and C++/CLI)  |  Windows Socket (Winsock2) & C