Hi, I have a problem with socket communication. When a client crashes or quits without deleting or closing TSocket, the server selects terminated TSocket with TMonitor->Select(). The subsequent TSocket->Recv(...) causes segmentation violation. A simple example of this is to kill hclient.C process, then hserv.C or hserv2.C crashes. Is it possible to protect against that? Could TROOT destructor check for opened sockets and close them? Thanks, Andrej _____________________________________________________________ Andrej Filipcic, E-mail: Andrej.Filipcic@ijs.si Department of Experimental High Energy Physics - F9 Jozef Stefan Institute, Jamova 39, P.o.Box 3000 SI-1001 Ljubljana, Slovenia Tel.: +386-61-177-3674 Fax: +386-61-125-7074 -------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET