Thats for real world ports, minecraft ports work different(a message contains just sender address, port and payload), and we have unpridictable addresses for computers, SUPER slow switches and veeery crappy wirless networks.
I would like to keep this a bit seperate, besides the fact that they will never communicate with "real programs", if someone wants to reimplement something, it could use a different port.
My program(you could say its a protocol, cause you may have to write your own server for what you want to do) isnt even finished, just have written the default server(which can run on j