in reply to IO over socket
Your problem is that you are mixing protocols. It seems you like to do a line based protocol, first sending the filename, then the content, line-by-line, but you are using a bytestream mechanism for it. If you want to do it line-by-line, just use print (on the sending end) and <$socket> (on the receiving end).
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IO over socket
by neptuna (Acolyte) on Jun 22, 2004 at 19:52 UTC |