Section 5 - Examples

Legal Stuff: The examples in this FAQ that aren't attributed to some other source are all hereby placed into the public domain. Use them, learn from them, enjoy them. But please understand that there is NO WARRANTY OF ANY KIND attached to these examples.

I test all of these examples with the command line compilers from Borland C++ 5.0 and Visual C++ 5.0. All of these examples can, in principle, be made to work with older compiler versions, but since I like to make use of newer C++ features, you may have to change some of the code to get the examples to compile.

Although I do make use of some new C++ features, these examples are mainly written in a "C++-as-better-C" style. They also assume a 32-bit compiler capable of generating Win32 console executables. This allows me to avoid all the extra GUI code and the MFC vs. OWL issue. All of these examples currently use the Winsock 1.1 API, except for those few that actually require some Winsock 2 feature.

The header comment for each example shows how to compile that example.

The Examples

Navigation: [Previous Page] [Next Page]


Go to my home page Go to my Important RFC Lists page Go to the main Programming Resources page

Please send updates and corrections to <tangent@cyberport.com>.