[fpc-pascal] Browser and exe

Marcos Douglas B. Santos md at delfire.net
Thu May 25 16:04:37 CEST 2017


On Thu, May 25, 2017 at 10:58 AM, Sven Barth via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
>> But I meant, how do you know if another app is already using a port
>> that you want to use?
>
> You'll get an error by the OS if someone is already listening on the
> port that you want to listen on yourself.

In other words, use a try-except. If error, retry using another port.

Thanks Sven.

Best regads,
Marcos Douglas



More information about the fpc-pascal mailing list