diff src/alice/daemon/AliceDaemon.java @ 22:2ca2d961a8d2

implements outline of TopologyManager
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 00:40:27 +0900
parents e3f1b21718b0
children 3155337e754e
line wrap: on
line diff
--- a/src/alice/daemon/AliceDaemon.java	Sun Jan 15 19:02:01 2012 +0900
+++ b/src/alice/daemon/AliceDaemon.java	Tue Jan 17 00:40:27 2012 +0900
@@ -20,8 +20,8 @@
 			ServerSocketChannel ssChannel = ServerSocketChannel.open();
 			ServerSocket ss = ssChannel.socket();
 			ss.setReuseAddress(true);
-			ss.bind(new InetSocketAddress(InetAddress.getLocalHost(), conf.port));
-			acceptThread = new AcceptThread(ss, "ACCEPT" + conf.port);
+			ss.bind(new InetSocketAddress(InetAddress.getLocalHost(), conf.localPort));
+			acceptThread = new AcceptThread(ss, "ACCEPT" + conf.localPort);
 			acceptThread.start();
 			
 		} catch (IOException e) {