Possibility to put a socket both in read and write set (select.cpp)