On Thu, May 25, 2017 at 10:58 AM, Sven Barth via fpc-pascal <[email protected]> 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 _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
