lab 2 start
-
run program
ruby main.rb 'port' 'host'
-
connect with netcat or telnet to server
-
for quit type "quit" or close console
lab 3 start
-
run program
ruby main.rb server 'fileName' 'port'
ruby main.rb client 'fileName' 'port' 'serverIpAddress'
-
Wait for end.