---
name: "rxsock"
section: "1"
platform: "linux"
package: "rxsock"
version: "1.2-17"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/rxsock"
---

# rxsock(1)

socket function library for Regina Rexx

## NAME

rxsock - socket function library for Regina Rexx

## SYNOPSIS

**rxsock** \[*OPTIONS*\] \[*FILE*\]

**call RxFuncAdd 'SockLoadFuncs','rxsock','SockLoadFuncs'**\
 **call SockLoadFuncs**

## DESCRIPTION

rxsock is a socket library for **[regina(1)](/regina/1.md)**

RxSock's interface is compatible with the one provided by IBM with OS/2 and with Object Rexx for Windows.  See http://www2.hursley.ibm.com/rexxtut/socktut1.htm for a description of the API.

The differences between this RxSock and the one provided with OS/2 4.0 are listed in the file difference.os2.

RxSock can be used in one of two ways.  The first is to run a rexx script as an argument to rxsock, optionally with the command line switches described below.

The more common usage is to load the rxsock function package with the Regina built-in function RxFuncAdd() (the second SYNOPSIS example.)  Note that the rexx script must be invoked with /usr/bin/regina and not /usr/bin/rexx.

## OPTIONS

- **-i**

  Accept RxSock commands from stdin.

- **-d**

  Run in debug mode. Mainly used when diagnosing a problem.

- **-v**

  Run in verbose mode. Mainly used when diagnosing a problem. Parameter values passed into a function and result information are traced.  Also values of Rexx variables set by RxSock are traced.

- **-f**

  File in which output from -v and -d is dumped. By default trace output is dumped to stderr.

## COPYRIGHT

**RxSock** is released under the GNU LGPL-2 license. See /usr/share/common-licenses/LGPL-2.

## AUTHORS

Darren Abbott \<abbott@hiwaay.net\>\
 http://home.hiwaay.net/~abbott/regina/

Linux port Mark Hessling \<m.hessling@qut.edu.au\>\
 http://www.lightlink.com/~hessling/

## DOCUMENTATION

http://www2.hursley.ibm.com/rexxtut/socktut1.htm

## SEE ALSO

**[regina(1)](/regina/1.md),** **[rexxtk(1)](/rexxtk/1.md)**
