NET.CFG Options Reference

Protocol TCPIP Option

User Datagram Protocol (UDP) Sockets

User Datagram Protocol (UDP) sockets are used by the LWPCON utility and by all applications that query a name server using the domain name system (DNS). DNS name servers are the only type of name server that the TCP/IP Transport for DOS software supports.

The software accesses a DNS name server through the information provided in the RESOLV.CFG file. See Chapter 2, “Setting Up Domain Name Systems (DNS) Support,” in the TCP/IP Transport for DOS Configuration Guide for more information.

Because UDP sockets are used briefly to send and receive datagrams and are then released, you need more than the default eight UDP sockets only if you make very heavy use of DNS.

UDP_SOCKETS number

Specifies the maximum number concurrent UDP sockets (connections).

If you are using DNS, set at least one UDP socket for each concurrently run application.

If you are using NetBIOS, set at least two UDP sockets.

If you are configuring multiple ODI LAN drivers for TCP/IP, set the number of UDP sockets to the total shared by all LAN drivers.

Syntax

udp_sockets number

 

 

Default

8

 

 

Range

0 to 32

 

 

Example

To set a maximum of sixteen concurrent UDP

 

connections, you could place the following lines in your

 

NET.CFG file:

 

protocol tcpip

 

ip_address 129.47.6.84

 

ip_router 144.52.6.6

 

ip_netmask 255.255.0.0

 

udp_sockets 16

 

 

2-122