Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TERMINATE z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
Use the TERMINATE command to close all sockets in the specified socket set and to release the socket set. A socket set is a number of preallocated sockets available to a single application. You can define multiple socket sets for one session, but only one socket set can be active at a time. When the active socket set is released, the next socket set in the stack becomes the active socket set. Parameters
Returned valueThe command returns a string that contains the return code and the name of the socket set, for example, 0 MYTASKID. The return code can be 0 or the REXX API error number. The return code 0 indicates that the requested socket command was completed successfully. See Socket call error return codes for additional information about the numeric error codes that are returned by this command. The following REXX socket API error numbers can be returned:
LE C/C++ equivalentThis command has no LE C/C++ equivalent. Code exampleFigure 1. TERMINATE command
example
|
Copyright IBM Corporation 1990, 2014
|