Java WindowsSelectorImpl totalChannels

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?


Source: windows

Leave a Reply