Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: in_sock.h

in_sock.h Global variables


KInetAddrAny

const TUint32 KInetAddrAny;

Description

Any address flag (0.0.0.0).

[Top]


KInetAddrNone

const TUint32 KInetAddrNone;

Description

No address flag (0.0.0.0).

[Top]


KInetAddrAll

const TUint32 KInetAddrAll;

Description

All addresses mask (255.255.255.255).

[Top]


KInetAddrBroadcast

const TUint32 KInetAddrBroadcast;

Description

Broadcast address (255.255.255.255).

[Top]


KInetAddrLoop

const TUint32 KInetAddrLoop;

Description

Loopback address (127.0.0.1).

[Top]


KInetAddrGroupUnspec

const TUint32 KInetAddrGroupUnspec;

Description

Group address range start.

[Top]


KInetAddrGroupAllHosts

const TUint32 KInetAddrGroupAllHosts;

Description

All hosts address (224.0.0.1).

[Top]


KInetAddrLinkLocalNet

const TUint32 KInetAddrLinkLocalNet;

Description

Link-local net number.

[Top]


KInetAddrLinkLocalNetMask

const TUint32 KInetAddrLinkLocalNetMask;

Description

Link-local net mask.

[Top]


KInetAddrMaskAll

const TUint32 KInetAddrMaskAll;

Description

All addresses mask (0.0.0.0).

[Top]


KInetAddrMaskHost

const TUint32 KInetAddrMaskHost;

Description

All bits mask (255.255.255.255).

[Top]


KInetAddrNetMaskA

const TUint32 KInetAddrNetMaskA;

Description

Class A net mask (255.0.0.0).

[Top]


KInetAddrHostMaskA

const TUint32 KInetAddrHostMaskA;

Description

Class A host mask (0.255.255.255).

[Top]


KInetAddrShiftA

const TInt KInetAddrShiftA;

Description

Number of bits to right-shift a Class A address to obtain the network number.

[Top]


KInetAddrNetMaskB

const TUint32 KInetAddrNetMaskB;

Description

Class B net mask (255.255.0.0).

[Top]


KInetAddrHostMaskB

const TUint32 KInetAddrHostMaskB;

Description

Class B host mask (0.0.255.255).

[Top]


KInetAddrShiftB

const TInt KInetAddrShiftB;

Description

Number of bits to right-shift a Class B address to obtain the network number.

[Top]


KInetAddrNetMaskC

const TUint32 KInetAddrNetMaskC;

Description

Class C net mask (255.255.255.0).

[Top]


KInetAddrHostMaskC

const TUint32 KInetAddrHostMaskC;

Description

Class C host mask (0.0.0.255).

[Top]


KInetAddrShiftC

const TInt KInetAddrShiftC;

Description

Number of bits to right-shift a Class C address to obtain the network number.

[Top]


KInetAddrIdMaskA

const TUint32 KInetAddrIdMaskA;

Description

[Top]


KInetAddrIdValA

const TUint32 KInetAddrIdValA;

Description

[Top]


KInetAddrIdMaskB

const TUint32 KInetAddrIdMaskB;

Description

[Top]


KInetAddrIdValB

const TUint32 KInetAddrIdValB;

Description

[Top]


KInetAddrIdMaskC

const TUint32 KInetAddrIdMaskC;

Description

[Top]


KInetAddrIdValC

const TUint32 KInetAddrIdValC;

Description

[Top]


KInetAddrIdMaskD

const TUint32 KInetAddrIdMaskD;

Description

[Top]


KInetAddrIdValD

const TUint32 KInetAddrIdValD;

Description

[Top]


KInetAddrIdMaskE

const TUint32 KInetAddrIdMaskE;

Description

[Top]


KInetAddrIdValE

const TUint32 KInetAddrIdValE;

Description

[Top]


KSoInetIfQueryByDstAddr

const TUint KSoInetIfQueryByDstAddr;

Description

Get information for the interface specified by the destination address (iDstAddr) field of the passed packaged TSoInetIfQuery.

This allows the caller to find out what interface would be used (without invoking a dial-up process) for the specified destination. A path for this destination is open, if GetOpt() returns KErrNone, iSrcAddr is not KAFUnspec, and iIsUp == 1.

[Top]


KSoInetIfQueryBySrcAddr

const TUint KSoInetIfQueryBySrcAddr;

Description

Get information for the interface specified by the source address (iSrcAddr) field of the passed packaged TSoInetIfQuery.

If there are multiple interfaces with the same source address, then the first matching interface is returned.

Note: The information return phase will overwrite the iSrcAddr based on whatever happens to be in iDstAddr. It is not necessary to initialize iDstAddr, if application is not interested in resulting iSrcAddr.

[Top]


KSoInetIfQueryByIndex

const TUint KSoInetIfQueryByIndex;

Description

Get information for the interface specified by the Interface Index (iIndex) field of the passed packaged TSoInetIfQuery.

[Top]


KSoInetIfQueryByName

const TUint KSoInetIfQueryByName;

Description

Get information for the interface specified by the Interface Name (iName) field of the passed packaged TSoInetIfQuery.

[Top]


KSoInetEnumInterfaces

const TInt KSoInetEnumInterfaces;

Description

Begin enumeration of network interfaces.

This option should be set before enumerating interfaces with KSoInetNextInterface.

This option is for use with RSocket::SetOpt() only.

[Top]


KSoInetNextInterface

const TInt KSoInetNextInterface;

Description

Return details of the next interface in an enumeration started by setting the option KSoInetEnumInterfaces.

This option is for use with RSocket::GetOpt() only.

Option data type is TSoInetInterfaceInfo.

Note: If the interface has multiple addresses, then each address is returned as a separate instance of TSoInetInterfaceInfo (only address information is different each time).

Note: If the interface has no addresses, then one entry with unspecified address is returned.

[Top]


KSoInetConfigInterface

const TInt KSoInetConfigInterface;

Description

Configures the interface.

This option is for use with RSocket::SetOpt() only.

Option data type is TSoInet6InterfaceInfo.

The interface is specified by setting the TSoInetInterfaceInfo::iName,

[Top]


KSoInetDeleteInterface

const TUint KSoInetDeleteInterface;

Description

Deletes the interface.

This option is for use with RSocket::SetOpt() only.

Option data type is TSoInet6InterfaceInfo.

The interface is specified by setting the TSoInetInterfaceInfo::iName,

[Top]


KSoInetChangeInterface

const TUint KSoInetChangeInterface;

Description

Configure the interface details, if it exists.

Option data type is TSoInet6InterfaceInfo.

The interface is specified by setting the TSoInetInterfaceInfo::iName,

Note: Unlike KSoInetConfigInterface, never creates a new interface entry, if one does not already exist. KSoInetConfigInterface never fails with interface not found, as it always finds or creates one.

[Top]


KSoInetResetInterface

const TUint KSoInetResetInterface;

Description

Resets interface to initial state.

Delete all configuration (routes and addresses) from the interface. Any sockets (flows) currently using this interface, are set to holding state (KSoNoInterfaceError is not required).

The interface reconfigures, if the NIF driver calls CProtocolBase::StartSending(), or if KSoInetStartInterface socket option is used.

Option data type is TSoInet6InterfaceInfo.

The interface is specified by setting the TSoInetInterfaceInfo::iName, No other fields are used.

[Top]


KSoInetStartInterface

const TUint KSoInetStartInterface;

Description

Restart interface, auto-reconfigure.

Option data type is TSoInet6InterfaceInfo.

The interface is specified by setting the TSoInetInterfaceInfo::iName, No other fields are used. The selected interface is autoconfigured using the information supplied by the attached network driver.

Should normally only be called after KSoInetResetInterface.

[Top]


KSoInetEnumRoutes

const TInt KSoInetEnumRoutes;

Description

Begin enumeration of routes.

This option can only be used with RSocket::SetOpt().

This option should be set before enumerating routes with KSoInetNextRoute.

[Top]


KSoInetNextRoute

const TInt KSoInetNextRoute;

Description

Return the next route in an enumeration started by setting the option KSoInetEnumRoutes.

Option data type is TSoInetRouteInfo.

This option can only be used with RSocket::GetOpt().

[Top]


KSoInetAddRoute

const TInt KSoInetAddRoute;

Description

Adds the specified route to the routing table.

Option data type is TSoInetRouteInfo. The interface is defined by the TSoInetRouteInfo::iIfAddr and must exist.

This option can only be used with RSocket::SetOpt().

[Top]


KSoInetDeleteRoute

const TInt KSoInetDeleteRoute;

Description

Deletes the specified route from the routing table.

The route is identified by destination, netmask and gateway, These must exactly match the old route to be deleted.

Option data type is TSoInetRouteInfo. The interface is defined by the TSoInetRouteInfo::iIfAddr and must exist.

This option can only be used with RSocket::SetOpt().

[Top]


KSoInetChangeRoute

const TInt KSoInetChangeRoute;

Description

Modifies the specified route in the routing table.

The destination, netmask and gateway settings must be the same in the new route as in the old.

Option data type is TSoInetRouteInfo. The interface is defined by the TSoInetRouteInfo::iIfAddr and must exist.

This option can only be used with RSocket::SetOpt().

[Top]


KSoInetCachedRouteByDest

const TInt KSoInetCachedRouteByDest;

Description

No longer supported.

[Top]


KSoDnsCacheEnable

const TUint KSoDnsCacheEnable;

Description

No longer supported.

[Top]


KSoDnsCacheFlush

const TUint KSoDnsCacheFlush;

Description

No longer supported.

[Top]


KAfInet

const TUint KAfInet;

Description

Identifies the TCP/IP protocol family and v4 address family.

See also:

[Top]


KAfInet6

const TUint KAfInet6;

Description

Identifies the TCP/IP v6 address family.

See also:

[Top]


KProtocolInetIcmp

const TUint KProtocolInetIcmp;

Description

Identifies the ICMP protocol.

[Top]


KProtocolInetTcp

const TUint KProtocolInetTcp;

Description

Identifies the TCP protocol.

[Top]


KProtocolInetUdp

const TUint KProtocolInetUdp;

Description

Identifies the UDP protocol.

[Top]


KProtocolInet6Ipip

const TUint KProtocolInet6Ipip;

Description

IPv6 inside IP (v4 or v6).

[Top]


KProtocolInet6Icmp

const TUint KProtocolInet6Icmp;

Description

Identifies the ICMPv6 protocol.

[Top]


KProtocolInetIp

const TUint KProtocolInetIp;

Description

Identifies the IP (v4) protocol module.

[Top]


KProtocolInet6Ip

const TUint KProtocolInet6Ip;

Description

Identifies the IP (v6) protocol module.

[Top]


KProtocolUnknown

const TUint KProtocolUnknown;

Description

Unknown Protocol ID.

[Top]


KSolInetIcmp

const TUint KSolInetIcmp;

Description

ICMP socket option level (no options).

[Top]


KSolInetTcp

const TUint KSolInetTcp;

Description

TCP socket options level.

[Top]


KSolInetUdp

const TUint KSolInetUdp;

Description

UDP socket options level.

[Top]


KSolInetIp

const TUint KSolInetIp;

Description

IP socket options level.

[Top]


KSolInetIfCtrl

const TUint KSolInetIfCtrl;

Description

Interface control socket options level.

[Top]


KSolInetRtCtrl

const TUint KSolInetRtCtrl;

Description

Route control socket options level.

[Top]


KSolInetDnsCtrl

const TUint KSolInetDnsCtrl;

Description

DNS control socket options level.

[Top]


KSolInetIfQuery

const TUint KSolInetIfQuery;

Description

Interface query socket options level.

[Top]


KInetPortAny

const TUint KInetPortAny;

Description

Any port flag (0).

[Top]


KInetPortNone

const TUint KInetPortNone;

Description

No port flag (0).

[Top]


KInetMinAutoPort

const TUint KInetMinAutoPort;

Description

Minimum value of an automatically allocated port.

[Top]


KInetMaxAutoPort

const TUint KInetMaxAutoPort;

Description

Maximum value of an automatically allocated port.

[Top]


KIp6AddrScopeNodeLocal

const TInt KIp6AddrScopeNodeLocal;

Description

Node-local scope level (RFC-2373 2.7).

[Top]


KIp6AddrScopeLinkLocal

const TInt KIp6AddrScopeLinkLocal;

Description

Link-local scope level (RFC-2373 2.7).

[Top]


KIp6AddrScopeSiteLocal

const TInt KIp6AddrScopeSiteLocal;

Description

Site-local scope level (RFC-2373 2.7).

[Top]


KIp6AddrScopeOrganization

const TInt KIp6AddrScopeOrganization;

Description

Organisation-local scope level (RFC-2373 2.7).

[Top]


KIp6AddrScopeGlobal

const TInt KIp6AddrScopeGlobal;

Description

Global scope level (RFC-2373 2.7).

[Top]


KIp6AddrScopeNetwork

const TInt KIp6AddrScopeNetwork;

Description

Network scope level (non-standard value, used internally)

[Top]


KInet6AddrNone

const TIp6Addr KInet6AddrNone;

Description

No address (all 0s).

[Top]


KInet6AddrLoop

const TIp6Addr KInet6AddrLoop;

Description

Loopback address (::1).

[Top]


KInet6AddrLinkLocal

const TIp6Addr KInet6AddrLinkLocal;

Description

Link-local address (prefix fe80::).

[Top]


KIpDontFragment

const TUint KIpDontFragment;

Description

Don't fragment the packet.

If the packet would require fragmentation due to a small maximum transmission unit size (MTU), the packet is dropped and an ICMP error message is generated: for ICMPv4 type=3 and code=4 (#KInet4ICMP_Unreachable); and for ICMPv6 type=2 and code=0 (#KInet6ICMP_PacketTooBig).

Application must enable KSoInetLastError to detect this situation.

[Top]


KIpHeaderIncluded

const TUint KIpHeaderIncluded;

Description

Packet includes IP or IPv6 header.

When reading, the returned buffer starts with the received IP header, which can be either IPv6 (TInet6HeaderIP4) or IPv4 (TInet6HeaderIP).

When writing buffers, the buffer must start with the IP header and it must be complete. The stack does not provide any defaults.

See also:

[Top]


KIpDontRoute

const TUint KIpDontRoute;

Description

Don't route the packet.

Not supported in Symbian 7.0 and 7.0s.

[Top]


KIoctlTcpNotifyDataSent

const TUint KIoctlTcpNotifyDataSent;

Description

Complete the ioctl request when the data has been sent.

[Top]


KSoTcpSendWinSize

const TUint KSoTcpSendWinSize;

Description

The maximum number of bytes that can be queued for sending.

If this option is set when the connection state is not closed, then KErrLocked is returned.

Option data type is TInt.

The default value is 8192.

[Top]


KSoTcpRecvWinSize

const TUint KSoTcpRecvWinSize;

Description

The maximum number of bytes that can be buffered for receiving.

If this option is set when the connection state is not closed, then KErrLocked is returned.

Option data type is TInt.

The default value is 8192.

[Top]


KSoTcpMaxSegSize

const TUint KSoTcpMaxSegSize;

Description

The maximum TCP segment size (bytes).

If this option is set when the connection state is not closed, then KErrLocked is returned.

Option data type is TInt.

The default value is 1460.

[Top]


KSoTcpNoDelay

const TUint KSoTcpNoDelay;

Description

Send data at once if there is an established connection, without waiting for the maximum segment size to be reached.

The default is disabled.

Option data type is TInt.

Values are: 0 = Disable, 1 = Enable.

[Top]


KSoTcpKeepAlive

const TUint KSoTcpKeepAlive;

Description

On the time-out expiring without an acknowledgement being received, send a packet designed to force a response if the peer is up and reachable.

The default is disabled.

Option data type is TInt.

Values are: 0 = Disable, 1 = Enable.

[Top]


KSoTcpAsync2MslWait

const TUint KSoTcpAsync2MslWait;

Description

If address reuse is allowed, and a connection already exists between the requested local and remote addresses, wait for the address to become available.

The default is disabled.

Option data type is TInt.

Values are: 0 = Disable, 1 = Enable.

[Top]


KSoTcpSendBytesPending

const TUint KSoTcpSendBytesPending;

Description

The number of bytes currently queued for sending.

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpReadBytesPending

const TUint KSoTcpReadBytesPending;

Description

The number of bytes currently available for reading (the same value as is obtained using KSOReadBytesPending).

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpListening

const TUint KSoTcpListening;

Description

The socket has been set to listen (through RSocket::Listen()).

Option data type is TInt.

Values are: 0. Not listening, 1. Listening

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpNumSockets

const TUint KSoTcpNumSockets;

Description

The number of current TCP sockets.

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpReadUrgentData

const TUint KSoTcpReadUrgentData;

Description

Read out-of-band urgent data.

KErrNotFound is returned if there is no data waiting and no urgent data pointer has been received.

KErrWouldBlock is returned if and urgent is available but data needs to be read from the current stream to match the urgent data mark.

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpPeekUrgentData

const TUint KSoTcpPeekUrgentData;

Description

Peeks for urgent data. The behaviour is the same as KSoTcpReadUrgentData, but the urgent data is not removed.

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpRcvAtMark

const TUint KSoTcpRcvAtMark;

Description

True if the data stream has been read up to the point where urgent data is available, otherwise false.

Option data type is TInt.

This option can only be used with RSocket::GetOpt(), not RSocket::SetOpt().

[Top]


KSoTcpNextSendUrgentData

const TUint KSoTcpNextSendUrgentData;

Description

The next send operation will mark the last byte sent as urgent data.

The default is disabled.

Option data type is TInt.

Values are: 0 = Disable, 1 = Enable.

[Top]


KSoTcpOobInline

const TUint KSoTcpOobInline;

Description

Receive out-of-band data in the normal data stream.

The default is disabled.

Option data type is TInt.

Values are: 0 = Disable, 1 = Enable.

[Top]


KSOTcpDebugMode

const TUint KSOTcpDebugMode;

Description

Not supported.

[Top]


KSoIpOptions

const TUint KSoIpOptions;

Description

Data to place in IP Options field of sent datagrams.

Not supported.

[Top]


KSoRawMode

const TUint KSoRawMode;

Description

Include IP header in data returned to client.

IPv4 packets are returned as is with all headers in network byte order (until v7.0, this returned IPv4 headers in host order). See TInet6HeaderIP4 and TInet6HeaderIP for the header layout.

The default is disabled.

Option data type is TInt. Values are: 0 = Disable, 1 = Enable.

See also:

[Top]


KSoHeaderIncluded

const TUint KSoHeaderIncluded;

Description

Assume that the IP header is included in all data written by the client.

KSoRawMode must be set before this is allowed.

Option data type is TInt. Values are: 0. Disable; 1. Enable

The default is disabled.

See also:

[Top]


KSoIpTOS

const TUint KSoIpTOS;

Description

Type of Service field of outgoing datagrams.

For IPv6, there is no Type of Service field, so this option sets the Traffic Class.

Option data type is TInt. Values are 0-255. Because Explicit Congestion Notification [RFC3168] uses bits 6 & 7 in the IP field, modifying the two least significant bits is not allowed with TCP. SetOpt processing silently ignores any modifications on these bits when using TCP socket.

The default value is 0.

[Top]


KSoIpTTL

const TUint KSoIpTTL;

Description

Time to Live field of outgoing datagrams.

This is same as KSoIp6UnicastHops.

Option data type is TInt. Values are [-1,,255]. The -1 resets to the configured default value.

There are separate configured default values for the link local and other destinations. Both defaults can be configured by the TCPIP.INI parameters maxttl and linklocalttl , The compiled defaults are #KTcpipIni_Maxttl and #KTcpipIni_LinkLocalttl.

Note: For the TTL of multicast destinations,

See also:

[Top]


KSoReuseAddr

const TUint KSoReuseAddr;

Description

Allow a socket to be bound to an local address that is already in use.

Option data type is TInt. Values are: 0 = Disable, 1 = Enable.

The default is disabled.

[Top]


KSoNoInterfaceError

const TUint KSoNoInterfaceError;

Description

Do not set socket into error state if currently connected interface reports an error.

For example, this could be enabled for a unconnected datagram socket. Unconnected datagram sockets are connected to the interface of the last sent packet. If multiple interfaces are present, erroring the socket might not be the desired action if just one interface gives an error.

Another use case would be a connected socket (TCP), which does not get error even if interface goes down, and comes up with the same source address after a while.

Option data type is TInt. Values are: 0 = Disable, 1 = Enable.

The default can be changed by the TCPIP.INI parameter noiferror , and the compiled default is #KTcpipIni_Noiferror..

[Top]


KSoUserSocket

const TUint KSoUserSocket;

Description

Modify socket visibility.

Background internet services that have sockets open count as active user and prevents the TCPIP from shutting down. By this socket option, such a process can make selected sockets to be excluded from the count.

Option data type is TInt. By setting the value to 0, the socket is not counted as active user. The value 1 makes it visible again.

The option has no effect if the visibility state already matches the parameter.

By default, all sockets are initially visible.

Note: This option should only be used by background daemons which are started by the TCPIP stack.

[Top]


KSoInterfaceIndex

const TUint KSoInterfaceIndex;

Description

Set or get interface index of the socket.

Gets the current interface index of the socket. Returns the value used in the last set.

If interface index has not been set by this option, then value is determined as follows:

Option data type is TUint32.

[Top]


KSoKeepInterfaceUp

const TUint KSoKeepInterfaceUp;

Description

Controls whether the interface flow counter is affected by this socket.

This counter is used in determining when the interface can be brought down.

Option data type is TInt. Values are: 0=Don't count, 1= count flow against interface flow count.

The default can be changed by the TCPIP.INI parameter keepinterfaceup , and the compiled default is #KTcpipIni_KeepInterfaceUp.

[Top]


KSoNoSourceAddressSelect

const TUint KSoNoSourceAddressSelect;

Description

Enable use of 0 as a source address.

When socket is bound to unspecified address (0), the stack will automaticly select the source address for the outgoing packets. When this option is set after bind , the stack will not select a new address.

[Top]


KSoInetLastError

const TUint KSoInetLastError;

Description

Retrieve last error information.

This option is for use with GetOpt() only.

Option data type is TSoInetLastErr.

[Top]


KIoctlInetLastError

const TUint KIoctlInetLastError;

Description

An Ioctl corresponding to the socket option KSoInetLastError.

[Top]


KSoIp6UnicastHops

const TUint KSoIp6UnicastHops;

Description

Hop limit for outgoing datagrams: same as KSoIpTTL.

Option data type is TInt. Values are [-1,,255]. The -1 resets to the configured default value.

Note: KSoIp6UnicastHops can be used to detect dual IPv4/IPv6 stack from from the old TCPIP only-IPv4 stack. This option is only implemented in the dual stack.

See also:

[Top]


KSoIp6MulticastIf

const TUint KSoIp6MulticastIf;

Description

Interface for outgoing multicast packets

Unused.

[Top]


KSoIp6MulticastHops

const TUint KSoIp6MulticastHops;

Description

Hop limit for multicast packets.

Option data type is TInt. Values are [-1..255]. The -1 resets to the configured default value.

The default is 1.

[Top]


KSoIp6MulticastLoop

const TUint KSoIp6MulticastLoop;

Description

Enable/disable loopback of the multicast packets.

When enabled, multicast packets sent to this socket are internally looped back (in addition to sending them onto the interface). Another or same application listening the group and port, receives copies of the transmitted packets.

When disabled, an application on this host listening the same group and port, does not receive multicast packets originating from this socket (unless the interface or link echoes them back to the TCP/IP stack).

Option data type is TInt. Values are 1=enable; 0=disable. The default is 1.

[Top]


KSoIp6JoinGroup

const TUint KSoIp6JoinGroup;

Description

Join multicast group.

Option data type is TIp6Mreq.

[Top]


KSoIp6LeaveGroup

const TUint KSoIp6LeaveGroup;

Description

Leave multicast group.

Option data type is TIp6Mreq.

[Top]


KSoUdpReceiveICMPError

const TUint KSoUdpReceiveICMPError;

Description

Inform client of error if ICMP error packets received.

The default is disabled.

Option data type is TInt. Values are: 0 = Disable, 1 = Enable.

[Top]


KSoUdpAddressSet

const TUint KSoUdpAddressSet;

Description

Modifies address flag of UDP. Flag is used to control whether the socket is bound to IP address or not. Binding to specific address and then clearing this flag makes possible to receive packets sent to broadcast address but still to have a specific bound address for outgoing packets.

[Top]


KSoUdpSynchronousSend

const TUint KSoUdpSynchronousSend;

Description

Setting this option causes the UDP send operation to block when dynamic interface setup is in progress, or when local flow control within the stack would otherwise cause the packet to be dropped.

[Top]


KSoFlowClosing

const TUint KSoFlowClosing;

Description

Internal flow option called when the flow is about to be closed.

This option is only for the outbound flow hooks, which are attached to the TCIP/IP stack. The stack generates a call, just before the flow context associated with service access point (SAP) provider is about to be closed. If a hook has stored some socket specific state information into the flow context, then this option event may be of some use to it.

[Top]


KErrNetUnreach

const TInt KErrNetUnreach;

Description

Network could not be reached.

[Top]


KErrHostUnreach

const TInt KErrHostUnreach;

Description

Host could not be reached.

[Top]


KErrNoProtocolOpt

const TInt KErrNoProtocolOpt;

Description

Protocol could not be reached.

[Top]


KErrUrgentData

const TInt KErrUrgentData;

Description

Urgent data error.

[Top]


KInetAddrMaxBits

const TInt KInetAddrMaxBits;

Description

Maximum IPv4 address length (bits).

[Top]


KInet6AddrMaxBits

const TInt KInet6AddrMaxBits;

Description

Maximum IPv6 address length (bits).