This is the Winsock Programmer's FAQ. See
the Introduction section for history, a list
of mirrors, and information about the maintainer.
This FAQ will try to answer
the most commonly-asked questions on the alt.winsock.programming and comp.os.ms-windows.programmer.tools.winsock
newsgroups. The FAQ is also growing into a repository of Winsock
programming information for all levels of programmers. Please email me if you have any
corrections or additions for the list.
If you would like to view this FAQ off-line, you can
download a ZIPped version (278K, last packaged
2000.04.29) of these pages.
What's New?
2000.04.25
Added info to the item about detecting abnormal disconnects
warning against using keepalives to detect these sorts of problems.
2000.04.24
Fixed several "point-0" problems. (Yes, FAQs have them,
too!)
2000.04.23
Finished the redesign. This also marks the first
FAQ announcement in several months.
Added the review of Jones and Ohlund's Network Programming for Microsoft
Windows.
Added an article by Tom Sanfilippo that shows
how to use the undocumented
WsControl() function. This function is used by Windows
95's winipcfg program to view and change various IP parameters. There
is no documented way to get at a lot of this info, so this article is
very welcome! Thanks, Tom!
(I didn't plan it, but this "FAQ rebirth" occurred on
Easter Sunday. Apropriate, no?)
2000.03.26
Today I began a total revamp of the FAQ's look, content
and organization. Virtually every FAQ item got minor changes, and several
have been completely rewritten.
The FAQ's organization is rather different now, too. Many
of the items from the previous "newbie" and "advanced" sections have
been culled to make a new "intermediate" section. Another problem I
fixed is that the old FAQ organization required that I always add new
items at the end of a section instead of near related items. For the
same reason, the previous FAQ organization didn't allow me to delete
or move items. For these reasons and others, if you had hyperlinks to
particular items on these pages, they are definitely now broken!
Most importantly for you, the reader, is that I've
made quite an effort to make this FAQ more maintainable. Hopefully this
will decrease the amount of procrastinating I do, so changes and
additions will get done on a more timely schedule.
Previous "What's New" Entries...
What Is It That You Want, Exactly? :)
4/24/2000 - I just took a look at the keyword report that the FAQ's
search engine puts out. This tells me what people are looking for most
often in the FAQ. I fixed the number one item with a better section
title. The second most-used term is "UDP", something this FAQ doesn't
cover. So, I want to know what it is you are looking for, specifically. Send
me an email telling me what you're having trouble with when using
UDP.
Contents
Section 0 - Introduction
Section 1 - General Winsock Information
Section 2 - Issues for New Winsock Programmers
Section 3 - Intermediate Winsock Issues
Section 4 - Advanced Winsock Issues
Section 5 - Resources
Section 6 - Examples
Section 7 - Articles
Section 8 - Reviews
Section 9 - Glossary
|