Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UIGAG.cc,v 1.19 2007/10/30 10:14:34 kmura Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
// G4UIGAG.cc
|
||||
// 18.Feb.98 M.Nagamatu and T.Kodama created G4UIGAG from G4UIterminal
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
//
|
||||
//
|
||||
// 12/06/2002 G4UIGainServer H. MInamimoto and H. Yoshida created
|
||||
// $Id: G4UIGainServer.cc,v 1.11 2007/11/16 14:59:35 kmura Exp $
|
||||
// $Name: geant4-09-01 $
|
||||
// $Id: G4UIGainServer.cc,v 1.12 2008/07/18 06:39:43 kmura Exp $
|
||||
// $Name: geant4-09-02 $
|
||||
//
|
||||
#ifndef WIN32
|
||||
|
||||
@@ -413,7 +413,11 @@ void G4UIGainServer::WaitingConnection(){
|
||||
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(socklen_t *)&len))<0){
|
||||
#endif
|
||||
G4cerr<<"accept:"<<i<<G4endl;
|
||||
exit(1);
|
||||
//exit(1);
|
||||
G4Exception("G4UIGainServer::WaitingConnection", "Invalid Socket",
|
||||
FatalException, "Cannot establish connection");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
close(socketD[0]);
|
||||
|
||||
Reference in New Issue
Block a user