[fpc-pascal] Browser and exe
Sven Barth
pascaldragon at googlemail.com
Thu May 25 15:58:37 CEST 2017
2017-05-25 15:14 GMT+02:00 Marcos Douglas B. Santos <md at delfire.net>:
> On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys
> <mailinglists at geldenhuys.co.uk> wrote:
>>> 2. How did you garantee that others applications aren't being using
>>> the same port as your application to avoind conflicts?
>>
>>
>> I looked at the official IANA list of registered port numbers and chose a
>> port number that hasn't been taken yet.
>>
>> http://www.iana.org/assignments/port-numbers
>>
>> Under FreeBSD you can review the /etc/services file. I believe Linux has
>> something similar. Or simply use the URL above.
>
> Thanks for that link, I didn't know.
> 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.
Regards,
Sven
More information about the fpc-pascal
mailing list