socket managers
Syntax:
Socket [-d flag...] [-F] [-L] [-p num]
[-s num] [-t num]
[-v num] hostname
Socklet [-d flag...] [-F] [-L] [-p num] [-s num]
[-t num] hostname
Options:
- -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).
- icmp — Enable dumps of ICMP protocol
messages to the console.
- ip — Enable dumps of IP protocol messages
to the console.
- udp — Disable UDP checksums.
- -F
- Don't run priority float and priority receive.
- -L
- Register locally only.
- -p num
- Allow no more than the specified number of PPP
interfaces (default is 0).
- -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 12; 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 managers, Socket and
Socklet, implement the networking protocols used
in TCP/IP for QNX. Socklet implements ARP, TCP,
IP, UDP, and ICMP; Socket implements those as
well as NFS. If you don't need NFS support, you can use
Socklet, which needs less memory than
Socket.
The socket managers also provide an interface to the socket
library; functions in this library can make use of the above
protocols.
The flags icmp and ip, which print dumps
to the standard output, are for debugging. In most cases,
you don't need to specify those flags.
Files:
/etc/hosts file
See also:
hosts file
Chapter 2, Configuration