Location:
bt_sock.h
Link against: bluetooth.lib
class TL2CAPSockAddr : public TBTSockAddr;
L2CAP Socket Address.
Use this class to specify a local or remote L2CAP connection end-point, that is Device Address and PSM/CID. When unconnected,
the Port()
specifies the PSM, once connected it refers to the CID.
TBuf8< KMaxSockAddrSize >
- No description.
TSockAddr
- Represents an end point address
TBTSockAddr
- Bluetooth socket address
TL2CAPSockAddr
- L2CAP Socket Address
Defined in TL2CAPSockAddr
:
Cast()
, Port()
, SetPort()
, TL2CAPSockAddr()
, TL2CAPSockAddr()
Inherited from TBTSockAddr
:
BTAddr()
,
BTSecurity()
,
EndBTSockAddrPtr()
,
SetBTAddr()
,
SetSecurity()
Inherited from TSockAddr
:
CmpPort()
,
Family()
,
GetUserLen()
,
SetFamily()
,
SetUserLen()
,
UserPtr()
IMPORT_C TL2CAPSockAddr(const TSockAddr &aSockAddr);
Construct from a BT address.
|
static IMPORT_C TL2CAPSockAddr &Cast(const TSockAddr &aSockAddr);
Utility function to downcast a TSockAddr
to a TBTSockAddr
|
|
IMPORT_C void SetPort(const TL2CAPPort aHomePort);
|