UDP Channel
Syntax
dp_connect udp -host hostname
-port thePort -myaddr addr
-myport port
Comments
UDP is a stripped down version of TCP.
UDP does the bare necessities and nothing more: it does
not do error checking, reliabilitiy or packet sequencing.
It is, however, much faster than TCP and allows dynamic
configuration of the destination IP address and port.
- hostname is the IP address or DNS hostname of
the destination machine and is optional.
- thePort is the destination port address and is
optional.
- addr is the local IP address and is optional.
- port is the local port and is optional.
-
- Note that if no arguments are given, "dp_connect
udp" will open a UDP socket but fconfigure
will need to be run on the channel before data can be
sent through it since the socket does not have a
configured destination.
Examples
- dp_connect udp
- dp_connect udp -host foo.com -port 1025
dp_connect udp -myaddr foo.bar.com -myport 5150
dp_connect udp -host foo.bar.com -port 5150 -myaddr
foo.org -myport 1066