#include <cobain.h>
Public Member Functions | |
| IMPORT_C | ~CNetworkPeer () |
| Deallocates the peer object. | |
| IMPORT_C TDesC & | GetDeviceName () |
| Returns the peer device name. | |
| IMPORT_C TDesC8 & | GetDeviceAddress () |
| Returns the peer device address. | |
| IMPORT_C TDesC8 & | GetServiceID () |
| Returns the peer service name. | |
| IMPORT_C TUint | GetPort () |
| Returns the port associated to the service. | |
| IMPORT_C RCobainSocket * | ConnectL () |
| Connects to the remote peer service. | |
| IMPORT_C TProtocol | GetProtocol () |
| Returns the protocol (type) of the peer. | |
Data Fields | |
| TSglQueLink | iLink |
A peer is in essence a network service with which the client shares a protocol.
1.3.5