// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: FRClient.h,v 1.1.10.1 1999/12/07 20:53:40 gunter Exp $ // GEANT4 tag $Name: geant4-01-00 $ // // FRClient.h // FukuiRenderer Client // Yasuhide Sawada & Satoshi Tanaka #ifdef G4VIS_BUILD_VRML_DRIVER #ifndef FR_CLIENT_H #define FR_CLIENT_H #define FRSendLength 256 class FRClient { public: FRClient(); virtual ~FRClient(); int create(); int connect(const char *hostname, int port); int send(const char *sendbuf); int receive(char *recvbuf); int close(); protected: int fd; int port; }; #endif //FR_CLIENT_H #endif //G4VIS_BUILD_VRML_DRIVER