The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Port Mapping Questions


  • Subject: Re: Port Mapping Questions
  • From: John B
  • Date: Fri, 19 Mar 2004 06:54:00 +0000

> Fixed.

Cool.

> xFx already has a built-in mechanism via the config file to limit the
> range of ports it looked at as I had thought there might be a problem
> like this. This feature is somewhat redundant.
>
> I have additionally randomised the new base port level it starts
> looking at so there is much less chance of a clash. Saves lots of
> try/fail/try/fail attempts at start-up in the presence of other xAPps.
> Maybe somebody thinks this is another bad idea?

Sounds like a good idea to me - never thought of randomising the base port,
and
anything that avoids un-necessary throwing of exceptions has got to be
good.

> I only changed two values (the starting point for the free port scan
> and the limiter) so I don't have any concerns over code stability.

Neat.

Regards,

John






xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.