XPS Unified Programmer’s Manual
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 int Socket identifier used in each function.
Output parameters
ErrorString char * Last error description.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
None.
EDH0373En1023 — 01/18 476