XPS Unified
EDH0373En1023 — 01/18
7.2.1.327
TCP_GetError
Name
TCP_GetError – Gets the last error about socket.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks socket identifier (Max = 100).
-
Socket must be used.
Description
Gets the last error from the socket defined by the given socket identifier. If the socket is
undefined or is not used, the error description is blank.
Prototype
int TCP_GetError(
int SocketID,
char * ErrorString
)
Input parameters
SocketID
Output parameters
ErrorString
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
None.
int
Socket identifier used in each function.
char *
Last error description.
476
Programmer's Manual