How do one choose a port number for comunication over udp?

Can I choose any number or are there invalid numbers for the port?
Posted on 2001-11-30 14:42:10 by dxantos
I guess any unused (high numbers) port number is OK, as long as you autentificate requests for your application you should be fine (and protected from other applications own data)

StarCraft seems to use ports 6112 or near this range
Posted on 2001-11-30 15:31:52 by BogdanOntanu
check this info from iana (internet assigned numbers authority):
Posted on 2001-12-01 00:48:46 by clip
Posted on 2001-12-03 09:53:09 by dxantos
and to avoid problems totally, allow the user to change the port number.
Posted on 2001-12-03 11:12:16 by f0dder