Main Page   File List   File Members   Related Pages  

frdi_net_application.c File Reference

the application object More...

#include "frdi.h"

Functions

frdi_application * frdiApplicationNew (char *machine_name, char *machine_num, int port_number)
frdi_application * frdiApplicationNewFromString1 (char *machine_num, int port_number)
frdi_application * frdiApplicationNewFromString2 (char *machine_name, int port_number)
frdi_application * frdiApplicationNewFromString3 (char *str)
frdi_application * frdiApplicationNewFromString4 (char *str)
frdi_application * frdiApplicationNewFromString (char *str, int default_port_number)
void frdiApplicationFree (frdi_application *application)
char * frdiApplicationDisplay (frdi_application *application)
char * frdiApplicationGetId (frdi_application *application)


Detailed Description

the application object

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Function Documentation

frdi_application* frdiApplicationNew char *    machine_name,
char *    machine_num,
int    port_number
 

the representation of the remote application connected to by a connection contains data like what ip number and port number it is on

frdi_application* frdiApplicationNewFromString1 char *    machine_num,
int    port_number
 

takes a string of form "192.168.23.17"

frdi_application* frdiApplicationNewFromString2 char *    machine_name,
int    port_number
 

takes a string of form "foo.bar.com"

frdi_application* frdiApplicationNewFromString3 char *    str
 

takes a string of form "192.168.23.17:123"

frdi_application* frdiApplicationNewFromString4 char *    str
 

takes a string of form "foo.bar.com:123"

frdi_application* frdiApplicationNewFromString char *    str,
int    default_port_number
 

takes a string of form "foo", "foo:123", "192.168.23.17", "192.168.23.17:123"

void frdiApplicationFree frdi_application *    application
 

free up the memory used by a frdi_application object

char* frdiApplicationDisplay frdi_application *    application
 

describe an application object

char* frdiApplicationGetId frdi_application *    application
 

return foo:123


Generated on Wed Aug 18 13:24:02 2004 for Project Fairdice by doxygen1.2.18