In The Hand
AcceptBluetoothClient Method
NamespacesInTheHand.Net.SocketsBluetoothListenerAcceptBluetoothClient()()()
.NET Components for Mobility
Creates a client object for a connection when the specified service or endpoint is detected by the listener component.
Declaration Syntax
C#Visual Basic
public BluetoothClient AcceptBluetoothClient()
Public Function AcceptBluetoothClient As BluetoothClient
Return Value
A BluetoothClient component.
Remarks
AcceptTcpClient is a blocking method that returns a BluetoothClient that you can use to send and receive data. Use the Pending()()() method to determine if connection requests are available in the incoming connection queue if you want to avoid blocking.

Use the GetStream()()() method to obtain the underlying NetworkStream of the returned BluetoothClient. The NetworkStream will provide you with methods for sending and receiving with the remote host. When you are through with the BluetoothClient, be sure to call its Close()()() method. If you want greater flexibility than a BluetoothClient offers, consider using AcceptSocket()()().

Exceptions
ExceptionCondition
InvalidOperationExceptionListener is stopped.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0