server.register(selector, SelectionKey.OP_CONNECT);
server.connect(address);
Any idea why when I inspect selector
in WindowsSelectorImpl I see totalChannels = 2
even though I register only one channel?
server.register(selector, SelectionKey.OP_CONNECT);
server.connect(address);
Any idea why when I inspect selector
in WindowsSelectorImpl I see totalChannels = 2
even though I register only one channel?