<<

Winsock Programmer's FAQ
Section 5.2: Sample Programs

>>
  • The examples from this FAQ have been collected and indexed here. These show basic Winsock tasks, including how to compile basic Winsock programs. The code encapsulates a number of useful techniques, such as dealing with the complex Winsock structures (all those conversions!) and proper ordering of calls.
  • The samples from the highly-respected book Windows Sockets Network Programming are available online here.
  • Stardust Technologies has made a simple "chat" program available.
  • The Vijay Mukhi Computer Institute offers a Winsock tutorial. The English is a little broken, and the code uses variables like "k" and functions called "abc," but what the heck, it's free.
  • Jim Frost's "Windows Sockets: A Quick And Dirty Primer" is a short introduction to programming Winsock. It doesn't provide enough information to let you build "real" programs, but it isn't 500 pages of dry technical material, either.
  • Wayne Hoxsie has made available a skeleton Winsock program that uses BSD-style blocking sockets and threads.
  • Lewis Napper has made available the source code from his fine book, WinSock 2.0.
  • Donald C. Asonye has a collection of small Winsock programs online. They include a full-featured pinger, a "finger" client and a small FTP client.
  • An earlier version of WS_FTP is available with complete source code. The code is said to be quite synchronous, and you'll have to extract the FTP code from the UI code, but it may prove useful to you.
  • Dave Cole has made a fairly-complete telnet program available for free. Be careful about the license, though: it's GPL'd, so you can't include any of dtelnet's code in your own program without making your program free as well.
  • Spencer Low has a page that focuses on programming Unix sockets. There's a section of it that is useful to Winsock programmers: the Sample Source code.

<< Winsock Libraries Other Useful Web Pages >>
Last modified on 29 April 2000 at 15:52 UTC-7 Please send corrections to tangent@cyberport.com.
< Go to the main FAQ page
<< Go to my Programming pages
<<< Go to my Home Page