39 #ifdef G4VIS_BUILD_VRML_DRIVER
47 G4FRClient::G4FRClient()
54 G4FRClient::~G4FRClient()
60 G4bool G4FRClient::connect(
const char *hostname,
G4int port)
66 fFRClient =
new FRClient();
69 connected = (fFRClient->connect(hostname, port) < 0) ?
false :
true ;
74 void G4FRClient::close()
81 G4int G4FRClient::getPort()
const
89 sprintf(buf,
"%d", val);
97 sprintf(buf,
"%g", val);
104 fFRClient->send(pval);
121 #endif //G4VIS_BUILD_VRML_DRIVER
std::ostream & operator<<(std::ostream &ostr, const G4String &astr)