Re: TServerSocket

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Sep 18 1998 - 18:54:50 MEST


Hi Reiner,

   as you probably have seen currently the time-out is hard coded (20 retries
with a 10 second sleep period between retries). If you want I can add the number
of retries as extra argument in the TServerSocket ctor.

Cheers, Fons.


ROHLFS Reiner wrote:
> 
> Hi ROOTteam,
> 
> The constructor TServerSocket(Int_t port, Bool_t reuse) returns after
> approximately 3 minutes if the given port is already in use.
> 
> Is there an other (faster) method to check if a given port is already in use?
> 
> Cheers Reiner.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET