3/16/03-3
wsock32.dll
gets loaded.
wsock32.dll
runs over the TCP/IP stack. Windows NT,Windows 2000, and Windows 95 include the file
wsock32.dll
by default. When you createyour executables, if you link with
wsock32.lib
library, you will implicitly link the
wsock32.dll
at run time, without adding lines of code to your source file. For WinsockVersions 1.1 and 2 development documentation, articles, software, and sample code, please referto URLhttp://www.stardust.com/.A good further reference on the topic can be found from the Web site of Windows SocketsNetwork Programming by Bob Quinn, at URLhttp://www.sockets.com/a_d.htm. For the VisualBasic programmer - the book
Client/Server Programming with Microsoft Visual Basic
byKenneth L. Spencer and Ken Miller is a good first sockets reference; a collection of TCP/IPnetworking components and libraries for Visual Basic developers is available athttp://www.catalyst.com/. An old but well-known C++ reference including a class libraryavailable on CD-ROM is Win32 Network Programming: Windows 95 and Windows NTNetwork Programming Using MFC by Ralph Davis at URL:http://cseng.aw.com/book/author/0,3832,0201489309,00.html.For a comprehensive family tree of available UNIX-like and Windows operating systems,check out URLs:http://perso.wanadoo.fr/levenez/unix/andhttp://perso.wanadoo.fr/levenez/windows.
2 SOCKETS, SOCKET DESCRIPTORS, PORTS, AND CONNECTIONS
Sockets are endpoints of communication referred to by their corresponding socket descriptors, ornatural language words describing the socket’s association with a particular machine orapplication (e.g., we will refer to a server socket as
server_s
). A connection (or socket pair)consists of the pair of IP addresses that are communicating with each other, as well a pair of portnumbers, where a port number is a 32-bit positive integer usually denoted in its decimal form.
Leave a Comment
panikamal@gmail.com
plz send the addition of two no