Winsock Programmer’s FAQ
Section 5.2: Samples: Tutorial Code
Guide to Network Programming” is an ebook tutorial
on BSD sockets. The guide has very little to say that’s
Windows-specific, as the guide was originally written to cover
portable BSD sockets programming. You thus lose out on coverage
WSA* things in Winsock, and have to translate
BSDisms in the code to work with Winsock. Still, BSD sockets is
the basis of Winsock, and you’ll want to learn portable BSD
sockets programming anyway if you write for other platforms.
The Vijay Mukhi Computer Institute offers a Winsock tutorial. My main gripes are that the English is a little broken, and the code uses variables like “k” and functions with names like “abc.” It also hasn’t been updated in years. Still...free tutorial.
This FAQ’s basic examples section has several programs that illustrate the various strategies for accessing Winsock. The samples are structured similarly when practical, to make it easy to see the essential elements that differ when you move from one Winsock I/O strategy to another. The explanations above each program may also prove helpful to those just learning Winsock, though it’d be a stretch to call these “tutorials”.
<< Winsock Libraries and Controls
||Samples: Useful Code >>|
|Updated Sun Jan 18 2015 04:24 MST||Go to my home page|