IAPI::SetPoolSocketServerObjectInactivityTimeout

method SetPoolSocketServerObjectInactivityTimeout.

Sets timeout delay to forcibly disconnect passive TCP/IP clients.

 

HRESULT SetPoolSocketServerObjectInactivityTimeout(
  long hSocketServerObject,
  long inactivity_timeout
);

Parameters

hSocketServerObject

[in] .   Handle of server object

inactivity_timeout

[in,defaultvalue(720)] .

         Timeout delay in minutes

         (!) Running side by side to Wizapi32.dll - version 1.8.080, passing -1 disconnects all clients

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI