Chapter 3:Winsock 2 and Internet Protocol
|
||
C & Winsock: The Kick Start programming tutorialsC & Linux SocketProgram Example IndexC#, VB .NET & C++/CLI Network ProgrammingWindows Device Driver Development & Program ExamplesReactOS - Windows OS Binary Compatible Open Source Project - C & C++
|
What do we have in this chapter?
AddressingUnicastMulticastBroadcastIPv4 Management ProtocolsAddressing IPv4 from WinsockIPv6 - Internet Protocol v6AddressingUnicastAnycastMulticastAddressing IPv6 from WinsockAddress and Name ResolutionThe Unicode Version, GetAddrInfoW()Simple Address ConversionWSAAddressToString() and WSAStringToAddress() Program ExamplesThe InetPton()/inet_pton()Legacy Name Resolution RoutinesThe getprotobyport() Program ExampleWriting IP Version–Independent Program ExampleThe Client ExampleThe Server ExampleAnother Day, Another Example: The IPv6 Server Program ExampleTesting the IPv6 Client and Server Programs Example
Summary
In this chapter, we've discussed both IPv4 and IPv6. We covered addressing, name resolution, as well as the necessary Winsock data structures for each address family. The new name resolution functions were described followed by the legacy name resolution functions. Finally, we covered how to write applications that work seamlessly over IPv4 and IPv6. In other chapter, we will try to cover the remaining protocols accessible from Winsock, including IPX/SPX, AppleTalk, IrDA, and ATM.
|
|
|
Custom Search |
|
< Chap 2: Protocol Characteristics | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Chap 4: Other Supported Protocols >
Share and email to your beloved friends and foes:
|
||