This function sets, for the specified system object, the number of seconds iSeries™ Access for Windows® will wait before giving up on a connection attempt and returning an error.
UINT CWB_ENTRY cwbCO_SetConnectTimeout(
cwbCO_SysHandle system,
ULONG timeout );
The following list shows common return values.
If no timeout value has been suggested by policy, and none has been explicitly set using this API, the connect timeout used is CWBCO_CONNECT_TIMEOUT_DEFAULT.