in reply to EOF being read from open socket?

Remove the dead socket from $sel like you do when clients "exit".

Replies are listed 'Best First'.
Re^2: EOF being read from open socket?
by Elijah (Hermit) on Aug 23, 2006 at 20:45 UTC
    That socket has to stay in select because it is still active, connected and needs to be read from and written to.
      What makes you think it's still connected? What is sysread returning? 0? undefined? If undefined, what's in $!?
        It returns an integer 0 from the sysread function but loads undef into the buffer that sysread stores the data in. I think it is still open because the app never closes it. Maybe I am missing something but this socket is suppose to remain open so I assumed it was since the only one I close is the client socket.