Basic Java TCP and RMI tools to test ports and firewall-like issues. Also could be used for beginners tutorials...
javac *.java
Listen on all network interfaces.
java TCPServer [PORT]
Listen on specific network interface only.
java TCPServer [HOST] [PORT]
Connect Client on specific network interface.
java TCPClient [HOST] [PORT]
Listen on all network interfaces. Remote Object will be returned on a random port between 0 and 65535.
java -cp . RmiServer [PORT]
If [HOST] is not 'localhost', it listens on specific network interface only All communication goes through a single port.
java -cp . RmiServer [HOST] [PORT]
Connect Client on specific network interface.
java -cp . RmiClient [HOST] [PORT]
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/