|
|
|
struct TProtocolDesc;
Socket protocol information for use by clients.
Defined in TProtocolDesc:
iAddrFamilyAn integer identifying the protocol's address family. For example, for TCP/IP pr...iByteOrderThe byte order that the protocol usesiMessageSizeThe message size of datagram protocols.iNameThe name of the protocoliNamingServicesA bit mask indicating if the protocol supports name resolution, service resoluti...iProtocolAn integer specifying the specific protocol. For example, for TCP, KProtocolInet...iSecurityA bitmask of security flags.iServiceInfoA bit mask of service information flags.iSockTypeAn integer specifying the socket type. For example, for TCP, KSockStream. iVersionThe version of the protocolTProtocolName iName;
The name of the protocol
TProtocolNameContains the name of a protocol in structure TProtocolDesc. TUint iAddrFamily;
An integer identifying the protocol's address family. For example, for TCP/IP protocols, KAfInet.
TUint iSockType;
An integer specifying the socket type. For example, for TCP, KSockStream.
TUint iProtocol;
An integer specifying the specific protocol. For example, for TCP, KProtocolInetTcp.
TByteOrder iByteOrder;
The byte order that the protocol uses
TByteOrderUsed in structure TProtocolDesc to describes the endianness of a protocol. TUint iServiceInfo;
A bit mask of service information flags.
KSockStreamStream socket. TUint iNamingServices;
A bit mask indicating if the protocol supports name resolution, service resolution, or database access services.
TInt iMessageSize;
The message size of datagram protocols.
KSocketMessageSizeIsStreamReads and writes can be of any size: the data is treated as a stream.