in reply to Re: Remove extra carriage return (0D) on socket communications
in thread Remove extra carriage return (0D) on socket communications

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.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.