Chapter 4:

Winsock 2: Other Supported Protocols - IrDA, IPX/SPX, NetBIOS, AppleTalk, ATM, Bluetooth

 

 

 

C & Winsock: The Kick Start programming tutorials

 

C & Linux Socket

 

Program Example Index

 

C#, VB .NET & C++/CLI Network Programming

 

Windows Device Driver Development & Program Examples

 

ReactOS - Windows OS Binary Compatible Open Source Project - C & C++

 

 

 

 

COMPLETED PROJECT DOWNLOAD

What do we have in this chapter?

  1. Infrared Sockets

  2. The Addressing Scheme

    Name Resolution

    Enumerating IrDA Devices

    IrDA and getsockopt() using IRLMP_ENUMDEVICES

    Initiating a Discovery

    Running a Lazy Discovery

    Querying the IAS

    Socket Options

    The IrDA Server Example

    The IrDA Client Example

  3. IPX/SPX

  4. The Addressing Scheme

    Creating a Socket

    Binding a Socket

    Network Number vs. Internal Network Number

    Setting IPX Packet Types Through Winsock

    Name Resolution

    IPX Client-server Program Example

    Testing the IPX/SPX Client-server program

  5. NetBIOS

  6. The Addressing Scheme

    Creating a Socket

    The Netbios() Function

    Netbios() Function Program Example

    More Netbios() Program Example

  7. Another Day Another Netbios Example

  8. Finding the Netbios Name Example

  9. The Netbios Client-Server Program Example

    The Netbios Server

  10. The Netbios Client Program

  11. Testing Both the Netbios Client and Server Programs

  12. AppleTalk

  13. The Addressing Scheme

    Registering an AppleTalk Name

    Resolving an AppleTalk Name

    AppleTalk Zone Program Example

  14. Creating a Socket

  15. The AppleTalk Sender and Receiver Example

  16. Another AppleTalk Example

  17. Asynchronous Transfer Mode (ATM)

  18. The Addressing Scheme

    Creating a Socket

    Binding a Socket to an SAP

     

     

    Name Resolution

    ATM and Winsock Program Example

  19. Bluetooth

  20. Stack

    Windows CE SDK vs Win32 Platform SDK

    Discovering Bluetooth Devices Using Winsock

    Bluetooth Device Query Program Example

  21. Bluetooth Device Query Using Win32 PSDK

  22. Another Bluetooth Program Example Using Win32 PSDK

  23. Querying Service Capability on Remote Bluetooth Devices

  24. Bluetooth Querying Remote Device Program Example

  25. Another Example Querying Bluetooth Devices

  26. Publishing a Service

  27. SDP Records

    Registering a Bluetooth Service Steps and Example

  28. Registering a Bluetooth Service Program Example

  29. Winsock Extensions

    Winsock Function Extensions

    Bluetooth and socket

    Bluetooth and bind

    Bluetooth and connect

    Bluetooth and accept

    Bluetooth and listen, select, and closesocket

    Bluetooth and accept

    Bluetooth and read or write operations

    Bluetooth and shutdown

  30. Bluetooth and Socket Options

  31. SO_BTH_AUTHENTICATE

    SO_BTH_ENCRYPT

    SO_BTH_MTU

    SO_BTH_MTU_MAX

    SO_BTH_MTU_MIN

    Bluetooth Receiver Program Example

    Bluetooth Sender Program Example

  32. The Microsoft SDK Classic Sample

  33. Useful References

 

Summary

 

In this chapter, we described the remaining (non-IP) protocol address families that Winsock supports and explained addressing attributes specific to each family. For each address family, we discussed how to create a socket and how to set up a socket address structure to begin communication over a protocol covering up to Bluetooth, demonstrated through working program examples.

At this point, we have completed our discussion of Winsock's basic communication techniques and have described all of the available address families that enable you to construct a simple Winsock application. Next chapter will start our discussion of advanced Winsock topics, and we will begin with advanced I/O methods that allow you to manage I/O in a Winsock application. Stay tune!

 

 

 

 

HOME

 

Custom Search

 

< Chap 3: Winsock & Internet Protocol | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8 | Part 9 | Part 10 | Part 11 | Part 12 | Part 13 | Part 14 | Part 15 | Part 16 | Part 17 | Part 18 | Part 19 | Chap 5: I/O Methods>

 

Share and email to your beloved friends and foes: