class TSoInetLastErr |
Error information for TCP/IP protocols.
An object of this class is returned packaged as a TPckgBuf<TSoInetLastErr> in the option argument of RSocket::GetOpt(), when this function is called with (KSolInetIp, KSoInetLastError). The data members of this object are updated whenever a packet carrying an ICMP message is received.
TSoInetLastErr p; ... if (p.iErrAddr.Family() == KAfInet || p.iErrAddr.IsV4Mapped()) // assume ICMPv4 type and code else // assume ICMPv6 type and code
Public Attributes | |
---|---|
TInetAddr | iDstAddr |
TInetAddr | iErrAddr |
TInt | iErrCode |
TInt | iErrType |
TInetAddr | iSrcAddr |
TInt | iStatus |
TInetAddr | iDstAddr |
A TInetAddr with the IP address and port set to the destination address and port of the failed datagram.
TInetAddr | iErrAddr |
A TInetAddr with the IP address set to the address of the host that generated the error.
TInetAddr | iSrcAddr |
A TInetAddr with the IP address and port set to the source address and port of the failed datagram.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.