MNetworkInfo Class Reference

class MNetworkInfo : public MInetBase

Interface for getting information on interfaces and routes from IP stack.

Inherits from

Member Functions Documentation

GetAddresses(TDes8 &)

TInt GetAddresses(TDes8 &aBuffer)const [pure virtual]

Report all addresses in a single response.

Fill the given memory block by an array of TInetAddressInfo objects (Note: different from the old socket option structure).

Parameters

TDes8 & aBufferBuffer where the data is written

GetInterfaces(TDes8 &)

TInt GetInterfaces(TDes8 &aBuffer)const [pure virtual]

Report all interfaces in a single response.

Fill the given memory block by an array of TInetInterfaceInfo objects (Note: different from the old socket option structure).

Parameters

TDes8 & aBufferBuffer where the data is written

GetRoutes(TDes8 &)

TInt GetRoutes(TDes8 &aBuffer)const [pure virtual]

Report all routes in a single response. Usage is similar to GetInterfaces and GetAddresses. Data format is an array of TInetRouteInfo structures.

Parameters

TDes8 & aBuffer