![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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 TL2CAPSockAddr::Port()const
specifies the PSM, once connected it refers to the CID.
TSockAddr
- No description.
TBTSockAddr
- Bluetooth socket address
TL2CAPSockAddr
- L2CAP Socket Address.
Defined in TL2CAPSockAddr
:
Cast(const TSockAddr &)
Utility function to downcast a TSockAddr to a TBTSockAddr
Port()const
SetPort(const TL2CAPPort)
TL2CAPSockAddr()
Constructor TL2CAPSockAddr(const TSockAddr &)
Construct from a BT address. Inherited from TBTSockAddr
:
BTAddr()const
Getter BTSecurity()const
Getter EndBTSockAddrPtr()const
SetBTAddr(const TBTDevAddr &)
Sets BT address from a TBTDevAddr. SetSecurity(const TBTServiceSecurity &)
Setter TBTSockAddr(const TSockAddr &)
Constructor taking socket address baseclass reference. Rather like a copy constr...TBTSockAddr
Bluetooth socket addressIMPORT_C TL2CAPSockAddr(const TSockAddr &aSockAddr);
Construct from a BT address.
|
IMPORT_C static TL2CAPSockAddr& Cast(const TSockAddr &aSockAddr);
Utility function to downcast a TSockAddr
to a TBTSockAddr
|
|
IMPORT_C void SetPort(const TL2CAPPort aHomePort);
|