2017-05-25 15:14 GMT+02:00 Marcos Douglas B. Santos <[email protected]>: > On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys > <[email protected]> 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 _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
