vscphlp_setResponseTimeout

int vscphlp_setResponseTimeout( long handle, 
                        unsigned long timeout )
int pyvscphlp_setResponseTimeout( handle, 
                                    timeout )

Parameters

handle

Handle for the communication channel obtained from a call to vscphlp_newSession.

timeout

Timeout given in milliseconds. Can be set also before a session is open.

Return Value

VSCP_ERROR_SUCCESS is returned on success. VSCP_ERROR_INVALID_HANDLE is returned if an invalid handle is given.

Description

This is the timeout in seconds used when checking for replies after commands has been sent to the server. It can be changed anytime during a communication session. Default value is 3000 milliseconds.


Very Simple Control Protocol
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""