in reply to IO::Socket hanging in ActivePerl 5.8.8

Looks like it works fine on bsd.
  • Comment on Re: IO::Socket hanging in ActivePerl 5.8.8

Replies are listed 'Best First'.
Re^2: IO::Socket hanging in ActivePerl 5.8.8
by ruzam (Curate) on Apr 28, 2006 at 03:36 UTC
    I don't think this really matters, but you could try coding the socket the long way (no IO::Socket::INET) on the off chance that something is goofed there. You might also try closing the send connection with shutdown() before attempting to read on the chance that it might clear something.
      I tried doing shutdown($socket, 1) before reading but the client got back no data at all.