Mercurial > hg > Database > Alice
diff src/alice/daemon/AliceDaemon.java @ 63:498d1d2524d3
change getDataSegmentKey
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 09 Feb 2012 18:53:11 +0900 |
parents | 3155337e754e |
children | 23d6a775a643 |
line wrap: on
line diff
--- a/src/alice/daemon/AliceDaemon.java Thu Feb 09 17:53:24 2012 +0900 +++ b/src/alice/daemon/AliceDaemon.java Thu Feb 09 18:53:11 2012 +0900 @@ -46,6 +46,7 @@ ServerSocketChannel ssChannel = ServerSocketChannel.open(); ServerSocket ss = ssChannel.socket(); ss.setReuseAddress(true); + ss.bind(new InetSocketAddress(InetAddress.getLocalHost(), conf.localPort)); acceptThread = new AcceptThread(ss, "ACCEPT" + conf.localPort); acceptThread.start();