Re: TServerSocket

Fons Rademakers (Fons.Rademakers@cern.ch)
Fri, 18 Sep 1998 18:54:50 +0200


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