I'm not sure that what you have is a Windows vs Unix problem.
Agreed.
But the simplest solution would probably be to use the :crlf IO layer on the socket handle(s). Then print and readline should do the right thing, just as they do for the windows filesystem.
In reply to Re^2: Remove extra carriage return (0D) on socket communications
by BrowserUk
in thread Remove extra carriage return (0D) on socket communications
by PhillyR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |