isCOBOL Evolve : Appendices : Library Routines : C$SOCKET : CSOCKET-CREATE-SERVER
CSOCKET-CREATE-SERVER
This operation creates a server-side socket.
Syntax:
 CALL "C$SOCKET" USING CSOCKET-CREATE-SERVER
                       portNumber
                GIVING serverHandle
Parameters:
CSOCKET-CREATE-SERVER
Constant
 
portNumber
PIC 9 (n)
Numeric value specifying the port on which the socket is created.
serverHandle
USAGE HANDLE
Handle of the server or zero if operation fails.
Note: the SO_REUSEADDR attribute is configurable through the property iscobol.csocket.reuseaddr (boolean) .