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

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 ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.