Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 1.35 KB

README.md

File metadata and controls

53 lines (45 loc) · 1.35 KB

TcpRmiTools

Read in English Read in Russian

Basic Java TCP and RMI tools to test ports and firewall-like issues. Also could be used for beginners tutorials...

Building (JDK6+ tested)

javac *.java

Using TCP Tools

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]

Using RMI Tools

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]

License

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/