Tdp_Address - C level access to Tcl-DP address records

#include "network.h"

struct sockaddr_in *Tdp_FindAddress (name)

char *Tdp_CreateAddress (addr, port)
char           *name                   /* An address handle. */
unsigned long   addr                   /* An inet address. */
int             port                   /* A port number. */

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.


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