Merge pull request #366 from dicej/server-socket-channel

fix WSA error 10093 when openning a ServerSocketChannel
This commit is contained in:
Joshua Warner 2014-11-07 12:50:03 -07:00
commit 0107e09c58

View File

@ -25,6 +25,8 @@ public class ServerSocketChannel extends SelectableChannel {
}
public static ServerSocketChannel open() throws IOException {
Socket.init();
return new ServerSocketChannel();
}