The following sections describe the socket class supplied wit ooRexx. This class encapsulates the rxsock externale functions into several classes that improve the functionality if the external function library by extending the error checking and reducing the amount of code needed in an average rxsock program.
The Socket class package is contained in the file socket.cls. This file must be placed in a directory listed in your PATH. To get access to the class and methods in the Socket class, include the following statement in your Rexx program:
::requires 'socket.cls'