[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Simple, simple socket question

John Pritchard-williams

9/2/2008 9:37:00 AM

\r\n - yup I remember that being necessary now in other programs - I
guess (as you say) '\n\n' just sometimes works..

Cheers

John
--
Posted via http://www.ruby-....

1 Answer

John Pritchard-williams

9/2/2008 9:42:00 AM

0

//That's one too many \n's now//

But note, the program did really hang on my system (ruby 1.8.6
(2007-09-24 patchlevel 111) [i386-mswin32]) until I introduced that
extra '\n' and then it did really work.

Possibly (I haven't tried this..) the \n\n is google's webserver just
thinking 'oh you mean \r\n really'...(as you pointed out essentially).

Cheers

John
--
Posted via http://www.ruby-....