I am developing a client Java applet that will be embedded into a Web page. The applet will communicate with an existing application.
Is it possible to assign a port number to an application. If possible how can I do it? (ie. Echo server has port no 7, telnet 25, smtp 23, http 80 vs vs., ports beyond 1024 are unused, how can I assign port 1025 to an executable program or do I need to define my own protocols to do that)?