Table of Contents
_________________________________________________________________
NAME
Tdp_Address - C level access to Tcl-DP address records
SYNOPSIS
#include "network.h"
struct sockaddr_in *Tdp_FindAddress (name)
char *Tdp_CreateAddress (addr, port)
ARGUMENTS
- char
- *name (in) An address handle.
unsigned_long addr (in) An inet address.
- int
- port (in) A port number. _________________________________________________________________
DESCRIPTION
The above procedures provide C access to the Tcl-DP "dp_address" extension. The procedure Tdp_CreateAddress creates a record to store the given addr and port information and returns an address handle for further access to the created record. The Tdp_FindAddress procedure returns an address record given an address 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