3 * Time-stamp: "2007-10-09 11:54:52 anton"
6 import java
.io
.IOException
;
11 * @author "Anton Johansson" <anton.johansson@gmail.com>
14 private static int localPort
;
15 private static int nextHost
;
16 private static int nextPort
;
19 System
.out
.println(localPort
+ " " + nextPort
+ " " + nextPort
);
22 public static void main(String
[] args
) throws IOException
{
23 // args should contain local-port next-host next-port
25 localPort
= Integer
.parseInt(args
[0]);
26 nextHost
= Integer
.parseInt(args
[1]);
27 nextPort
= Integer
.parseInt(args
[2]);
30 System
.out
.println("You have to provide args: local-port next-host next-port");