Quote:
Originally Posted by
rmtzcx
Add your application and port to the /etc/services file. I will prevent any other program to use the port (Obviously, any other program that is well written :P)
I don't think that's true, even by convention. How could even a well-written program prevent itself from being
randomly assigned a high port number? It has no choice in the matter, and the kernel certainly doesn't check /etc/services...
This may differ from system to system, but I think you're safe from random assignments when you use numbers less than 32768.