Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4541
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | 7stud -- <bbxx789_05ss@yahoo.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: Ruby socket does not get reply |
| Date | Sat, 14 May 2011 12:16:30 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 20 |
| Message-ID | <ed295a788f4eb4306cf32f1a1001eedf@ruby-forum.com> (permalink) |
| References | <7b38b4a345bec72155b081e9245f6dc1@ruby-forum.com> <773171f75133a8aed0af80a33887ad43@ruby-forum.com> <40591443021fa4cb22bcd0feb32c6fe6@ruby-forum.com> <e14707455e856332a6b405e50cfead5b@ruby-forum.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1305393417 11789 65.111.164.187 (14 May 2011 17:16:57 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Sat, 14 May 2011 17:16:57 +0000 (UTC) |
| In-Reply-To | <e14707455e856332a6b405e50cfead5b@ruby-forum.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 383253 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <ed295a788f4eb4306cf32f1a1001eedf@ruby-forum.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:4541 |
Show key headers only | View raw
Robert Garrido wrote in post #998661:
> This is the fix:
>
> socket.write("HELO " + session + "\r\n")
>
> Thanks :D
Just be aware that ruby is going to convert a "\n" to "\r\n" on windows,
so on windows you will actually be wrting:
"\r\n"
= "\r" + "\n"
= "\r" + "\r\n"
= "\r\r\n"
That may or may not make a difference to a particular program.
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Ruby socket does not get reply Robert Garrido <rob_gar_esp@hotmail.com> - 2011-05-13 12:19 -0500
Re: Ruby socket does not get reply 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-13 13:08 -0500
Re: Ruby socket does not get reply Roger Pack <rogerpack2005@gmail.com> - 2011-05-13 13:53 -0500
Re: Ruby socket does not get reply 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-13 14:03 -0500
Re: Ruby socket does not get reply Robert Garrido <rob_gar_esp@hotmail.com> - 2011-05-14 02:41 -0500
Re: Ruby socket does not get reply 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-14 12:16 -0500
Re: Ruby socket does not get reply 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-14 12:42 -0500
Re: Ruby socket does not get reply Gary Wright <gwtmp01@mac.com> - 2011-05-15 19:10 -0500
csiph-web