Advertisement
olemis

Coursera mobilecloud-001 : Compile / test netty echo server

Sep 21st, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. $ javac -cp ../lib/netty-3.6.10.Final.jar Program.java
  2. $ ls
  3. Program$1.class         Program$EchoServerHandler.class Program.class           Program.java
  4. $ java -cp .:../lib/netty-3.6.10.Final.jar Program 9090
  5. Sun Sep 21 02:59:44 EDT 2014 => connect from /0:0:0:0:0:0:0:1%0:54670
  6. Sun Sep 21 03:00:06 EDT 2014 => disconnecting /0:0:0:0:0:0:0:1%0:54670
  7.  
  8. ============
  9.  
  10. $ telnet localhost 9090
  11. Trying ::1...
  12. Connected to localhost.
  13. Escape character is '^]'.
  14. echo this
  15. echo this
  16. ok
  17. ok
  18. one more time
  19. one more time
  20. ^]
  21. telnet> Connection closed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement