include/DFR.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])


Detailed Description

NOTE: if the user does not pass exactly 4 parameters, the DFR will not go on, terminating with error. assumption on the parameters:

USAGE:

 DFR [IP_address_for_FSs] [IP_address_for_CSs] \
         [port_for_FSs] [port_for_CLs]
 

we assume that the ports and the ip addresses are expressed correctly, this means that if this is not true the calls trying to bind an address to a socket will fail, resulting in the program terminating with error

this main makes some initialization and creates the two main threads of the DFR program:

See also:
FS_s_body

CL_s_body

Definition in file DFR.h.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 116 of file CL.cpp.


Generated on Sat Jun 13 21:06:30 2009 for DistributedFileRepository by  doxygen 1.5.8