Windows Sockets Version 1.1
Windows Sockets Version 1.1 follows the guidelines and structure laid out
by version 1.0, making changes only where absolutely necessary as indicated
by the experiences of a number of companies that created Windows Sockets
implementations based on the version 1.0 specification. Version 1.1 contains
several clarifications and minor fixes to version 1.0. Additionally, the
following more significant changes were incorporated into version 1.1:
- Inclusion of the gethostname()
routine to simplify retrieval of the host's name and address.
- Definition of DLL ordinal values below 1000 as reserved
for Windows Sockets and ordinals above 1000 as unrestricted. This allows
Windows Sockets vendors to include private interfaces to their DLLs without
risking that the ordinals choosen will conflict with a future version of
Windows Sockets.
- Addition of a reference count to WSAStartup()
and WSACleanup(), requiring correspondences
between the calls. This allows applications and third-party DLLs to make
use of a Windows Sockets implementation without being concerned about the
calls to these APIs made by the other.
- Change of return type of inet_addr()
from struct in_addr to unsigned long. This was required
due to different handling of four-byte structure returns between the Microsoft
and Borland C compilers.
- Change of WSAAsyncSelect()
semantics from "edge-triggerred" to "level-triggerred". The level-triggerred
semantics significantly simplify an application's use of this routine.
- Change the ioctlsocket()
FIONBIO semantics to fail if a WSAAsyncSelect()
call is outstanding on the socket.
- Addition of the TCP_NODELAY socket option for RFC
1122 conformance.
[Back: Windows Sockets Version 1.0]
[Next: Programming with Sockets]