Socket

socket manager

Syntax:



Socket [-A num] [-d flag...] [-L] [-l num] [-M num] 
       [-p num] [-S] [-s num] [-t num] [-v num]
       [hostname]

Options:

-A num
Set attribute cache timeout in seconds (default is 5).
-d flag...
Set the specified flags, where flag can be:
forward
Enable gateway support. You should set this flag whenever a QNX host has more than one link interface defined and datagrams must be forwarded from one interface to another (e.g. a host with multiple Ethernet interfaces, or a combination of Ethernet and SLIP interfaces).
-L
Register locally only.
-l num
Set the value of SOMAXCONN (minimum from <sys/socket.h>)
-M num
Set the maximum packets in the IP fragmentation queue (default is 200).
-p num
Allow no more than the specified number of PPP interfaces (default is 0).
-S
Turn on source check for received packets (default is off).
-s num
Allow no more than the specified number of SLIP interfaces (default is 0).
-t num
Allocate the specified number of threads. The default is 16; in most cases, you don't need to change this value.
-v num
Allocate no more than the specified number of vnodes (default is 200).
hostname
The name of the local host, as defined in the /etc/hosts file.

Description:

The Socket utility implements the following networking protocols used in TCP/IP for QNX:

Socket also provides an interface to the socket library; functions in this library can make use of the above protocols.

Files:

/etc/hosts file
Hostname database.

See also:

/etc/hosts file, Socklet

Basic Configuration, LAN Configuration, and Serial Network Configuration chapters.