A java applet, which is downloaded from a web server host, can connect via a network socket to any port on the same machine. This could be a java application acting as a server. |
Java applications can connect network sockets to any host machine on the Internet
|
web server host machine |
browser |
Applet is downloaded |
from web server |
applet |
Internet |
80 |
nnnn |
web |
server |
Java |
application |
Socket based on |
TCP/IP protocol |