Download Etherlink User's Manual

Transcript
Chapter 3 Software
3.2.16 SetTimeout
int SetTimeout(HANDLE fd, int timeout);
Sets the transfer timeout of the OS-link interface.
Parameters:
Name
Direction Description
fd
Input
descriptor returned by OpenLink()
timeout
Input
transfer timeout in milliseconds
Return:
Zero on success or -1, if an error ocurred. You can retrieve the error code by calling
GetLastError(), see Error Codes for details.
3.2.17 GetTimeout
int GetTimeout(HANDLE fd);
Returns the transfer timeout of the OS-link interface.
Parameters:
Name
Direction Description
fd
Input
descriptor returned by OpenLink()
Return:
Returns the transfer timeout in milliseconds.
Doc.-No. 2004-0003, version 1.6
22 / 28