This first table describes the defined flags bits along with the opcodes that they go with:
Symbol |
Value |
Opcode |
Meaning |
TCPXFLG_BLOCK |
&h00000001 |
TCPOP_ACCEPT, TCPOP_CONNECT |
Establish connection being accepted as blocking. |
TCPXFLG_LISTEN |
&h00000004 |
TCPOP_ACCEPT |
Causes TCPX to return with the listening socket in sockport instead of the connection socket, without waiting to accept a connection. |
TCPXFLG_ASYNC |
&h00000008 |
TCPOP_ACCEPT |
Accept connection on previously opened listening socket. sockport must be the listening socket. |
TCPXFLG_ASYNC |
&h00000008 |
TCPOP_CONNECT |
Attempt to connect asynchronously. See Asynchronous Client Connections. |
TCPXFLG_ KEEPLISTEN |
&h00000010 |
TCPOP_ACCEPT |
Combined with TCPXFLG_ASYNC to keep the listening socket open after accepting the connection. |
TCPXFLG_SHUTRD |
&h00000020 |
TCPOP_SHUTDOWN |
Shut receiving side only. |
TCPXFLG_SHUTWR |
&h00000040 |
TCPOP_SHUTDOWN |
Shut sending side only. |
TCPXFLG_NODELAY |
&h00000080 |
TCPOP_ACCEPT, TCPOP_CONNECT |
Disable the Nagle delay. |
TCPXFLG_LINGER |
&h00000100 |
TCPOP_ACCEPT, TCPOP_CONNECT |
Set the standard TCP option SO_LINGER to "on". See Setting The SO_LINGER Option. |
TCXPXFLG_TLS |
&h00100000 |
|
Support for TLS/SSL. |
TCPXFLG_STARTTLS |
&h00200000 |
TCPOP_CONNECT |
Support for STARTTLS. |