in reply to Re^6: Socket buffer issue
in thread Socket buffer issue
You create a new connection for each file. If $1 contains the correct string, that means the server is sending the response that's meant for one connection to an entirely unrelated connection. A server bug.
PS — $sock is a socket, so you can use it with <> (e.g. local $/; <$sock>) just like you did before you switched to IO::Socket::INET.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Socket buffer issue
by goosesganders (Initiate) on Apr 01, 2011 at 18:15 UTC |