Socket manager
Socket [-d flag...] [-f] [-L] [-l num]
[-m pool_num, pool_size] [-t num]
[-v num] [hostname]
- -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).
- -f
- Don't go automatically to the background.
- -L
- Register locally only.
- -l num
- Set the value of SOMAXCONN
(minimum from <sys/socket.h>)
- -m pool_num, pool_size
- Specify the number and size of memory pools in shared memory.
The default is 64,65536 i.e. it specifies
a maximum of 64 pools where each pool is 65536 bytes.
In most cases, you don't need to change this value.
- -t num
- Allocate the specified number of threads. The default is 48; in most cases,
you don't need to change this value.
- -v num
- Specify number of virtual packet interfaces allowed (default is 0).
- hostname
- The name of the local host, as defined in the
/etc/hosts file.
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.
- /etc/hosts file
- Hostname database.
/etc/hosts file
Basic Configuration,
LAN Configuration, and
Serial Network Configuration chapters.