In MIO, can i show interest on both readable and writable on new socket connection?


#1

I am trying to build small TCP server with mio, Now, i get the readable() interest on new socket arrival, but should i also provide writable() socket interest at the time of registerting new socket or only when i want to write something to socket i should provide write interest ?