EasyManua.ls Logo

Newport XPS-D - Closeallothersockets

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.1.3 CloseAllOtherSockets
Name
CloseAllOtherSocketsCloses all sockets beside the one used.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks “Administrator” rights: (-107)
Description
This function allows an administrator to close all user sockets except the socket used to
call this function.
All other user sockets are closed. So, ERR_SOCKET_CLOSED_BY_ADMIN error is
sent to each running (on an user socket) process before the socket is really closed.
Prototype
int CloseAllOtherSockets()
Input parameters
None.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-107: This function requires Administrator rights.
NOTE
Call the “Login” function to identify the user as “Administrator”.
CAUTION
If some TCL scripts are in progress (after a “TCLScriptExecute”
function or a “TCLScriptExecuteAndWait” function), do not use
CloseAllOtherSockets to function to kill these TCL scripts. Use the
“TCLScriptKill” function to stop the TCL execution and only after
can you use theCloseAllOtherSockets” function to close sockets.
45 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS-D

Related product manuals