Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

network.h

Go to the documentation of this file.
00001 
00002 
00007 #ifndef NETWORK_H
00008 #define NETWORK_H
00009 
00010 #include <arpa/inet.h>
00011 #include <sys/time.h>
00012 #include <sys/types.h>
00013 #include <sys/socket.h>
00014 #include <netinet/in.h>
00015 #include <netdb.h>
00016 
00017 class Network {
00018     public:
00020     Network ();
00022     ~Network ();
00023 
00025 
00028     int waitForConnection ();
00029 
00030     private:
00031     int                sock; 
00032     struct sockaddr_in address; 
00033 };
00034 
00035 #endif

Generated at Sat May 13 13:50:20 2000 for 3Dsia by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000