EXTRACT TCPIP

Top  Previous  Next

Obtain information about TCPIP characteristics of the current transaction.

EXTRACT TCPIP
[ CLIENTNAME(cname) ]
[ CNAMELENGTH(cnamelen) ]
[ CLIENTADDR(caddrtext) ]
[ CADDRLENGTH(addrlen) ]
[ CLIENTADDRNU(caddnum) ]
[ SERVERNAME(server) ]
[ SNAMELENGTH(serverlen) ]
[ SERVERADDR(servertext) ]
[ SADDRLENGTH(saddrlen) ]
[ SERVERADDRNU(serveraddnum) ]
[ PORTNUMBER(port) ]
[ PORTNUMBERNU(portnumnum) ]
[ TCPIPSERVICE(tcpservice) ]
[ PRIVACY(prvlen) ]
[ SSLTYPE(ssltype) ]
[ AUTHENTICATE(auttype) ]

Options

AUTHENTICATE(auttype)

returns a CVDA indicating the authentication requested for the client using this transaction. Possible values are:

AUTOAUTH
AUTOREGISTER
BASICAUTH
CERTIFICAUTH
NOAUTHENTIC

CADDRLENGTH(addrlen)

specifies the length of the buffer supplied on the CLIENTADDR option, and is set to the actual length of the data returned to the application..

CLIENTADDR(caddrtext)

specifies a buffer to contain the client's TCP/IP address.

CLIENTADDRNU(caddnum)

specifies a fullword binary field containing the client's TCP/IP address in binary form.

CLIENTNAME(cname)

specifies a buffer to contain the client's name as known by the Domain Name Server.

CNAMELENGTH(cnamelen)

specifies the length of the buffer supplied on the CLIENTNAME option, and is set to the actual length of the data returned to the application, or zero if the client's name is not known to the domain name server

PORTNUMBER(port)

Specifies a 5-character field to contain the port number associated with this transaction in character form.

PORTNUMBERNU(portnumnum)

Fullword field to contain the port number associated with this transaction in binary form.

SADDRLENGTH(saddrlen)

specifies the length of the buffer supplied on the SERVERADDR option, and is set to the actual length of the data returned to the application.

SERVERADDR(servertext)

specifies a buffer to contain the server's TCP/IP address in dotted decimal character form (nnn.nnn.nnn.nnn).

SERVERADDRNU(serveraddnum)

specifies a fullword binary field containing the server's TCP/IP address in binary form.

SERVERNAME(server)

specifies a buffer to contain the server's name as known by the Domain Name Server.

SNAMELENGTH(serverlen)

specifies the length of the buffer supplied on the SERVERNAME option, and is set to the actual length of the data returned to the application.

SSLTYPE(ssltype)

Returns a CVDA indicating whether the Secure Sockets Layer (SSL) is being used to secure communications for this transaction. Possible values are:

SSL
NOSSL
CLIENTAUTH

TCPIPSERVICE

An 8-byte field to contain the name of the TCPIPSERVICE associated with this transaction.