Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: in_sock.h
Link against:

Class TSoInetRouteInfo

TSoInetRouteInfo

Support

Supported from 5.0

Description

Encapsulates information describing an entry in the IP routing table. TSoInetRouteInfo objects are used to specify routing table entries in calls to RSocket::GetOpt() and RSocket::SetOpt(), when these functions are called with anOptionLevel set to KSolInetRtCtrl.

Defined in TSoInetRouteInfo:
iDstAddr, iGateway, iIfAddr, iMetric, iNetMask, iState, iType


Data members


iType

TRouteType iType

Description

Route type


iState

TRouteState iState

Description

Route state


iMetric

TInt iMetric

Description

Route preference, with a smaller value indicating a preferred route


iIfAddr

TInetAddr iIfAddr

Description

IP address of the interface used for this route


iGateway

TInetAddr iGateway

Description

IP address of the gateway


iDstAddr

TInetAddr iDstAddr

Description

IP address of the destination network or host


iNetMask

TInetAddr iNetMask

Description

Destination mask of network. If the destination is a host, set the mask to KInetMaskHost.