Basic select on a socket is working