Home > Language Reference > Classes > StreamBluetooth
ConnectedInbound Event
Event raised after an inbound connection is accepted.
Syntax
Public Event ConnectedInbound(ByVal sConn As StreamBluetooth)
| Parameter | Description |
| sConn | Socket to exchange data with the remote device. |
Remarks
The ConnectedInbound event is raised by a listening socket after a connection request is accepted. If your application acts as a server, you must provide an handler for this event.
The listening socket that fired this event remains in the listening state, but will automatically reject any new connection request unless the local device is master of a piconet. The sConn parameter provides your application a new socket to exchange data with the remote device.
When the listening socket is closed by a call to the Close method, the sockets that were provided by this event are closed as well.
Note that this event can only be raised by a StreamBluetooth object behaving as a server, ie initialized by a call to the RfCommListen or the L2CapListen methods.
The StreamBluetooth page shows a typical implementation for this event.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 5.0 | Requires a Bluetooth enabled device. |