Tcp_Settimeout - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
7.2.1.328

TCP_SetTimeout

Name
TCP_SetTimeout – Sets the timeout for TCP/IP communication.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks number of used sockets (Maximum number = 100).
-
Socket must be used.
-
Timeout value must be positive.
Description
Sets a new timeout value in seconds for the opened TCP/IP communication defined by a
socket identifier.
If the timeout is less than 0.001, the timeout value defaults to 0.001.
If the socket is undefined or is not used then nothing happens.
Prototype
int TCP_SetTimeout(
int SocketID,
double Timout
)
Input parameters
SocketID
Timeout
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
None.
int
Socket identifier used in each function.
double
Timeout in seconds used for each function
execution.
477
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents