man page(1) manual page
Table of Contents

_________________________________________________________________

NAME

dp_address - internet address record manipulation _________________________________________________________________

dp_address option ?arg arg ...?

The dp_address command provides access to an internal array of internet address records. These address records are appropriate for use as arguments to the dp_sendTo and receiveFrom network communication commands of Tcl-DP (Tcl Distributed Programming). The argument option specifies the operation to be performed. The valid options are:

dp_address create host port

Creates an internal address record that represents the given host address and port internet information. Returns an addr handle that is appropriate for use as an argument to the dp_sendTo and dp_receiveFrom commands and as the addr argument in the commands below. Port can be specified by number or by service name (see services(5) for more information). If specified by service name, it must be a UDP service.

dp_address delete addr

Delete the previously created internal address record that has the given addr handle.

dp_address info addr

Return a list of the form {host port}, which is the internet information stored with the given addr handle.

AUTHOR

Brian Smith (bsmith@cs.berkeley.edu)
Steve Yen (syen@cs.berkeley.edu)
Stephen Tu (tus@roger-rabbit.cs.berkeley.edu)


Table of Contents