Chapter 4

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

 

 

 

COMPLETED PROJECT DOWNLOAD

 

What do we have in this chapter?

 

  1. Infrared Sockets

  2. The Addressing Scheme

  3. Name Resolution

  4. Enumerating IrDA Devices

  5. IrDA and getsockopt() using IRLMP_ENUMDEVICES

  6. Initiating a Discovery

  7. Running a Lazy Discovery

  8. Querying the IAS

  9. Socket Options

  10. The IrDA Server Example

  11. The IrDA Client Example

  12. IPX/SPX

  13. The Addressing Scheme

  14. Creating a Socket

  15. Binding a Socket

  16. Network Number vs. Internal Network Number

  17. Setting IPX Packet Types Through Winsock

  18. Name Resolution

  19. IPX Client-server Program Example

  20. Testing the IPX/SPX Client-server program

  21. NetBIOS

  22. The Addressing Scheme

  23. Creating a Socket

  24. The Netbios() Function

  25. Netbios() Function Program Example

  26. More Netbios() Program Example

  27. Another Day Another Netbios Example

  28. Finding the Netbios Name Example

  29. The Netbios Client-Server Program Example

  30. The Netbios Server

  31. The Netbios Client Program

  32. Testing Both the Netbios Client and Server Programs

  33. AppleTalk

  34. The Addressing Scheme

  35. Registering an AppleTalk Name

  36. Resolving an AppleTalk Name

  37. AppleTalk Zone Program Example

  38. Creating a Socket

  39. The AppleTalk Sender and Receiver Example

  40. Another AppleTalk Example

  41. Asynchronous Transfer Mode (ATM)

  42. The Addressing Scheme

  43. Creating a Socket

  44. Binding a Socket to an SAP

  45. Name Resolution

  46. ATM and Winsock Program Example

  47. Bluetooth

  48. Stack

  49. Windows CE SDK vs Win32 Platform SDK

  50. Discovering Bluetooth Devices Using Winsock

  51. Bluetooth Device Query Program Example

  52. Bluetooth Device Query Using Win32 PSDK

  53. Another Bluetooth Program Example Using Win32 PSDK

  54. Querying Service Capability on Remote Bluetooth Devices

  55. Bluetooth Querying Remote Device Program Example

  56. Another Example Querying Bluetooth Devices

  57. Publishing a Service

  58. SDP Records

  59. Registering a Bluetooth Service Steps and Example

  60. Registering a Bluetooth Service Program Example

  61. Winsock Extensions

  62. Winsock Function Extensions

  63. Bluetooth and socket

  64. Bluetooth and bind

  65. Bluetooth and connect

  66. Bluetooth and accept

  67. Bluetooth and listen, select, and closesocket

  68. Bluetooth and accept

  69. Bluetooth and read or write operations

  70. Bluetooth and shutdown

  71. Bluetooth and Socket Options

  72. SO_BTH_AUTHENTICATE

  73. SO_BTH_ENCRYPT

  74. SO_BTH_MTU

  75. SO_BTH_MTU_MAX

  76. SO_BTH_MTU_MIN

  77. Bluetooth Receiver Program Example

  78. Bluetooth Sender Program Example

  79. The Microsoft SDK Classic Sample

  80. 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 >