User`s guide

58
K
A
DAK
KwikNet System Configuration
TCP Stack Parameters (continued)
Maximum Number of Sockets
Enter the maximum number of sockets which your application can have in use at any one
time. Remember that a TCP server needs one socket to listen for connection requests and
one socket for each accepted connection. Also note that sockets are required for use with
UDP or
KwikNet UDP channels. Sockets are also used privately by many components of
Turbo Treck TCP/IP Stack.
Use Raw Sockets
Check this box if you wish the sockets API to support raw sockets so that your
application can send and received IP datagrams. Otherwise, leave this box unchecked.
Note: The KwikNet sockets API (see Chapter 5) does not support raw sockets. You must
use the Treck raw sockets API.
ICMP via Raw Sockets
Check this box if you wish the raw socket API to support the delivery of IP datagrams for
ICMP echo requests (ICMP type 8) and address mask requests (ICMP type 17) to raw
sockets. Otherwise, leave this box unchecked.
Allow Address Reuse
Check this box if you want to be able to bind multiple sockets with different IP addresses
to the same local port. Otherwise, leave this box unchecked.
This feature must be enabled in order to set the
SO_REUSEADDR socket option with a call
to function kn_setsockopt().