Thread properties

Use the SRV_T_LISTENADDR, SRV_T_LOCALID, and SRV_T_REMOTEADDR thread properties to configure threads to support dynamic listeners.

Table 14: Thread properties

Property name

Definition

Notes

SRV_T_LISTENADDR

Returns the address of the listener identified by the specified SRV_PROC control structure. If SRV_PROC is a listener, this property returns the address on which the listener accepts connections.

This property requires a pointer to a CS_TRANADDR structure as an argument.

This is a retrieve-only property.

SRV_T_LOCALID

Specifies the SSL certificate to use for a listener.

This property allows a listener to use an SSL certificate other than the global server-level SSL certificate.

This is a set-only property.

SRV_T_REMOTEADDR

Returns the address of a SRV_PROC peer. This property value is valid only for a client SRV_PROC.

This property requires a pointer to a CS_TRANADDR structure as an argument.

This is a retrieve-only property.

Set the SRV_T_CIPHER_SUITE and SRV_T_SSL_VERSION thread properties from within the SRV_LISTEN_PREBIND Open Server event.