Chapter 4:Winsock 2: Other Supported Protocols - IrDA, IPX/SPX, NetBIOS, AppleTalk, ATM, Bluetooth
|
||
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?
The Addressing SchemeName ResolutionEnumerating IrDA DevicesIrDA and getsockopt() using IRLMP_ENUMDEVICESInitiating a DiscoveryRunning a Lazy DiscoveryQuerying the IASSocket OptionsThe IrDA Server ExampleThe IrDA Client ExampleThe Addressing SchemeCreating a SocketBinding a SocketNetwork Number vs. Internal Network NumberSetting IPX Packet Types Through WinsockName ResolutionIPX Client-server Program ExampleTesting the IPX/SPX Client-server programThe Addressing SchemeCreating a SocketThe Netbios() FunctionNetbios() Function Program ExampleMore Netbios() Program ExampleThe Netbios Client-Server Program ExampleThe Netbios ServerTesting Both the Netbios Client and Server ProgramsThe Addressing SchemeRegistering an AppleTalk NameResolving an AppleTalk NameAppleTalk Zone Program ExampleThe AppleTalk Sender and Receiver ExampleThe Addressing SchemeCreating a SocketBinding a Socket to an SAP
Name ResolutionATM and Winsock Program ExampleStackWindows CE SDK vs Win32 Platform SDKDiscovering Bluetooth Devices Using WinsockBluetooth Device Query Program ExampleAnother Bluetooth Program Example Using Win32 PSDKBluetooth Querying Remote Device Program ExampleSDP RecordsRegistering a Bluetooth Service Steps and ExampleWinsock ExtensionsWinsock Function ExtensionsBluetooth and socketBluetooth and bindBluetooth and connectBluetooth and acceptBluetooth and listen, select, and closesocketBluetooth and acceptBluetooth and read or write operationsBluetooth and shutdownSO_BTH_AUTHENTICATESO_BTH_ENCRYPTSO_BTH_MTUSO_BTH_MTU_MAXSO_BTH_MTU_MINBluetooth Receiver Program ExampleBluetooth Sender Program Example
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!
|
|
|
![]() Custom Search |
|
Share and email to your beloved friends and foes:
|
||