win32file.SetCommTimeouts

int = SetCommTimeouts(handle, val )

Sets the time-out parameters for all read and write operations on a specified communications device.

Parameters

handle : PyHANDLE

The handle to the communications device.

val : PyCOMMTIMEOUTS

The new time-out parameters.