|
|
|
|
Location:
bt_sock.h
Link against: bluetooth.lib
class TRfcommSockAddr : public TBTSockAddr;
Defines the format of an Rfcomm address.
This class uses the TSockAddr data area to hold the address so that it can be passed through the ESOCK boundary. Assumes that the remote RFCOMM instance is always bound to PSM 3 on L2CAP, so there is no way of specifying another remote PSM.
TBuf8< KMaxSockAddrSize > - No description.TSockAddr - Represents an end point addressTBTSockAddr - Bluetooth socket addressTRfcommSockAddr - Defines the format of an Rfcomm addressDefined in TRfcommSockAddr:
Cast(), TRfcommSockAddr(), TRfcommSockAddr()
Inherited from TBTSockAddr:
BTAddr(),
BTSecurity(),
EndBTSockAddrPtr(),
SetBTAddr(),
SetSecurity()
Inherited from TSockAddr:
CmpPort(),
Family(),
GetUserLen(),
Port(),
SetFamily(),
SetPort(),
SetUserLen(),
UserPtr()
IMPORT_C TRfcommSockAddr(const TSockAddr &aSockAddr);
Constructor that takes a BT socket address.
|
static IMPORT_C TRfcommSockAddr &Cast(const TSockAddr &aSockAddr);
Utility function to downcast a TSockAddr to a TBTSockAddr
|
|