Download Network Programming for Microsoft Windows by Anthony Jones PDF

By Anthony Jones

This up to date variation presents the newest information regarding how one can write purposes that make the most of the complicated networking protocols and applied sciences that Microsoft home windows XP supports-Internet Protocol (IP) models four and six, Pragmatic normal Multicasting (PGM) protocol, net crew administration Protocol three (IGMPv3), IPv6 multicasting, the community situation knowledge (NLA) namespace supplier, the Winsock supplier Interface, 64-bit Winsock APIs, and .NET Sockets. The publication comprises code samples within the Microsoft visible easy, Microsoft visible C++, and Microsoft visible C# improvement structures.

Show description

Read or Download Network Programming for Microsoft Windows PDF

Best windows desktop books

Windows NT/2000 ADSI Scripting for System Administration

Scripting offers process directors an optimum technique of automating tedious and time-consuming program, configuration, and administration projects. furthermore you could reap the benefits of new functions provided via VBScript, ADSI and home windows Scripting Host. ADSI is especially very important in mild of the approaching unencumber of home windows 2000, because it offers a method of getting access to performance within the energetic listing Microsoft's highly-publicized listing carrier.

Porting to Win32™: A Guide to Making Your Applications Ready for the 32-Bit Future of Windows™

And evaluation ebook: to adopt an day trip into those new and to a wide quantity unexplored territories, explaining alongside the best way what these kinds of issues suggest to present courses and their local use less than Win32 platforms. finally, earlier than placing such great issues as a number of threads or Unicode into their functions, builders need to port them to Win32 within the first position!

Beginning Windows 8 and Microsoft Office 2013

(Black & White variation) additionally to be had in full-color paperback, or on Kindle. Over four hundred instance pictures starting home windows eight and Microsoft place of work 2013 is designed to assist those who find themselves new to home windows eight and Microsoft place of work 2013, in addition to those who would possibly not have used prior types of home windows and place of work.

Django Essentials

Improve basic internet purposes with the strong Django framework evaluation Get to understand MVC development and the constitution of Django Create your first web site with Django mechanisms permit person interplay with kinds application tremendous fast types with Django gains. discover the simplest practices to improve purposes of a superb caliber intimately Django is a strong Python net framework designed for swift net software improvement.

Additional resources for Network Programming for Microsoft Windows

Example text

Name Resolution Routines Along with IPv6, several new name resolution functions were introduced that could handle both IPv4 and IPv6 addresses. The legacy functions like gethostbyname and inet_addr work with IPv4 addresses only. The replacement functions are named getnameinfo and getaddrinfo. H. Also, note that although these functions are new for Windows XP, they can be made available to work on all Winsock 2 enabled platforms. H. 0, and Windows 2000. The getaddrinfo function provides protocol-independent name resolution.

If the destination address is on the local network, the ARP request is made for the destination's physical address. If one or more routers separate the source from the destination, an ARP request is made for the default gateway and the packet is forwarded to it. The IP Helper API contains some ARP routines and is described in Chapter 16. ICMP is designed to send status and error messages between IPv4 hosts. The types of messages include echo requests and replies, destination unreachable, and time exceeded.

The getnameinfo function is prototyped as the following: int getnameinfo( const struct sockaddr FAR *sa, socklen_t salen, char FAR *host, DWORD hostlen, char FAR *serv, DWORD servlen, int flags ); The parameters are fairly self-explanatory. sa is the socket address structure on which the name information will be obtained for and salen is the size of that structure. host is the character buffer to receive the host's name. By default, the fully qualified domain name (FQDN) will be returned. hostlen simply indicates the size of the host buffer.

Download PDF sample

Rated 4.59 of 5 – based on 46 votes