Programming Winsock/Book and Disk by Arthur Dumas

By Arthur Dumas

The WinSock library is among the preferred rising home windows Open companies structure criteria used so as to add TCP/IP connectivity to functions. Now this hands-on instructional, geared toward home windows programmers conversant in a C++ compiler and an program framework, bargains pattern code that's transportable among sixteen bit (Windows 3.1) and 32 bit (Windows NT and Chicago). CD comprises shareware.

Show description

Read or Download Programming Winsock/Book and Disk PDF

Best client-server systems books

Microsoft Small Business Server 2003 Unleashed

When you are new to the realm of Microsoft Small company Server 2003, Microsoft Small enterprise Server 2003 Unleashed grants you with real-world help adventure as you start or discover your upgraded server. Written and reviewed through Small enterprise Server MVPs, this ebook offers priceless assurance of Mac platform integration, in addition to the combination of ISA 2004, SharePoint, FrontPage, trade, and SQL Server.

Microsoft Exchange Server 2007 (with SP1) - The Complete Reference

"Exchange specialists and Microsoft MVPs Richard Luckett, William Lefkovics, and Bharat Suneja have packed this ebook with functional information, priceless info, and years of information and event. If you’re liable for a number of elements of an alternate 2007-based messaging procedure, continue this booklet shut, as you’ll be concerning it usually!

How to Cheat at Configuring Exchange Server 2007 - Including Outlook Web, Mobile, and Voice Access

The proper Reference for the Multitasked approach AdministratorsThe re-creation of alternate is an formidable overhaul that attempts to stability the becoming wishes for functionality, expense effectiveness, and safety. For the typical process administrator, it's going to current a tricky migration course from prior types and a vexing variety of new beneficial properties.

Microsoft SharePoint 2010 Administrator's Pocket Consultant

Moveable and exact, this pocket-sized consultant supplies prepared solutions for the daily management of SharePoint 2010. that includes easy-to-scan tables, step by step directions, and convenient lists, this ebook bargains the streamlined, user-friendly details you want to resolve difficulties and get the activity done-whether at your table or within the box!

Additional resources for Programming Winsock/Book and Disk

Sample text

DLL depending on whether the 16-bit or 32-bit version of Windows is being targeted. LIB as appropriate. H for both the 16-bit and 32-bit environments. Before your application uses any WinSock functions, the application must call an initialization routine called WSAStartup(). Before your application terminates, it should call the WSACleanup() function. WSAStartup The WSAStartup() function initializes the underlying Windows Sockets Dynamic Link Library (WinSock DLL). You will remember that the WinSock API is independent of the specific TCP/IP stack vendor.

In a typical client-server interaction, the server creates a socket, gives the socket a name, and waits for clients to connect to the socket. The client creates a socket and connects to the named socket on the server. When the server detects the connection to the named socket, it creates a new socket and uses that new socket for communication with the client. The server’s named socket continues waiting for connections from other clients. 2 for an illustration of this simple client-server interaction.

If an application calls the GetMessage() function and there are no messages waiting for that application, Windows switches tasks and allows another program to run. That newly running program runs through its message loop until it has no more messages to process, and the procedure continues through all the programs running on the computer. In this environment, it’s very easy for a single program to prevent all others from running. For example, if the edit box in the previously described example took 10 seconds to process the WM_CHAR message, no other tasks on the computer would run for at least 10 seconds.

Download PDF sample

Rated 4.99 of 5 – based on 10 votes