Unbuffered socket I/O and accept in a loop