Acknowledgments Introduction PartⅠ Legacy Networking APIs Chapter1 NetBIOS MICROSOFT NETBIOS NETBIOS PROGRAMMING BASICS COMMON NETBIOS ROUTINES DATAGRAM OPERATIONS MISCELLANEOUS NETBIOS COMMANDS PLATFORM CONSIDERATIONS CONCLUSION Chapter 2 The Redirector UNIVERSAL NAMING CONVENTION MULTIPLE UNC PROVIDER NETWORK PROVIDERS REDIRECTOR SERVER MESSAGE BLOCK SECURITY NETWORK SECURITY A PRACTICAL EXAMPLE CONCLUSION Chapter3 Mailslots MAILSLOT IMPLEMENTATION DETAILS BASIC CLIENT/SERVER ADDITIONAL MAILSLOT APIS PLATFORM AND PERFORMANCE CONSIDERATIONS CONCLUSION Chapter4 Named Pipes NAMED PIPE IMPLEMENATION DETAILS BASIC SERVER/CLIENT OTHER API CALLS PLATFORM AND PERFORMANCE CONSIDERATIONS CONCLUSION PartⅡ The Winsock API Chapter5 Network Principles and Protocols PROTOCOL CHARACTERISTICS SUPPORTED PROTOCOLS WINSOCK 2 PROTOCOL INFORMATION WINDOWS SOCKETS PLATFORM-SPECIFIC INFORMATION SELECTING THE RIGHT PROTOCOL CONCLUSION Chapter6 Address Families and Name Resolution IP INFRARED SOCKETS IPX/SPX NETBIOS APPLETALK ATM ADDITIONAL WINSOCK 2 SUPPORT FUNCTIONS CONCLUSION Chapter7 Winsock Basics INITIALIZING WINSOCK ERROR CHECKING AND HANDLING CONNECTION-ORIENTED PROTOCOLS CONNECTIONLESS PROTOCOLS MISCELLANEOUS API FUNCTIONS WINDOWS CE OTHER ADDRESS FAMILIFS CONCLUSION Chapter8 Winsock I/O Methods SOCKET MODES SOCKET I/O MODELS I/O MODEL CONSIDERATION CONCLUSION Chapter9 Socket Options and Ioctls SOCKET OPTIONS IOCTLSOCKET AND WSAIOCTL CONCLUSION Chapter10 Registration and Name Resolution BACKGROUND NAME SPACE MODELS REGISTERING A SERVICE QUERYING A SERVICE CONCLUSION Chapter11 Multicasting MULTICAST SEMANTICS IP MULTICASTING ATM MULTICASTING MULTICASTING WITH WINSOCK CONCLUSION Chapter12 Generic Quality of Service BACKGROUND QOS AND WINSOCK TERMINATING QOS PROGRAMMING QOS EXAMPLES ATM AND QOS CONCLUSION Chapter13 Raw Sockets RAW SOCKET CREATION INTERNET CONTROL MESSAGE PROTOCOL INTERNET GROUP MANAGEMENT PROTOCOL USING IP_HDRINCL CONCLUSION Chapter14 Winsock 2 Service Provider Interface SPI BASICS TRANSPORT SERVICE PROVIDERS NAME SPACE SERVICE PROVIDERS DEBUG TRACING WINSOCK 2 SPI FUNCTIONS CONCLUSION Chapter15 The Microsoft Visual Basic Winsock Coutrol PROPERTIES METHODS EVENTS UDP EXAMPLE TCP EXAMPLE LIMITATIONS COMMON ERRORS THE WINDOWS CE WINSOCK CONTROL CONCLUSION PartⅢ Remote Access Service (RAS) Chapter16 Remote Access Service Client COMPILING AND LINKING ATA STRUCTURES AND PLATFORM COMPATIBILITY ISSUES DUN 1.3 UPGRADE AND WINDOWS 95 RASDIAL PHONEBOOK CONNECTION MANAGEMENT CONCLUSION Appendix A Appendix B Appendix C Index