in reply to Sockets + Read

Try unbuffering your filehandle ($socket). You may not be looping because you aren't getting enough data to fill your buffer.

Really, this is all conjecture, though.

Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.

Replies are listed 'Best First'.
Re^2: Sockets + Read (unbuffered)
by tye (Sage) on Aug 17, 2005 at 23:28 UTC

    Sockets are unbuffered by default, FYI. (:

    - tye