| January 15, 2009 7:24 AM PST | |
by Lester Memmott
Engineering Manager, Software Enabling Group
Why Should I Care About This Code Sample?
The following source code demonstrates the usage of the WinSock API for writing a client server application. It implements both the TCP and UDP protocols from the IP family. In the case of UDP it demonstrates two ways for a client to use the WinSock API. Finally it demonstrates the use of setsockopt() in order to prevent recvfrom() from having in an environment where network connectivity is transient.
Target Audience
General interest, general application developer for mobile devices
Sample Category
Complete project including client and server components.
Implementation Language
C
Target Hardware & Software Platforms
Hardware Systems: IA-32 platforms
Operating Systems: Microsoft Windows* 2000, and Windows XP
Compilers: Microsoft Visual Studio* 6.0 and .Net
For more complete information about compiler optimizations, see our Optimization Notice.


