From: 7stud -- Date: 2011-05-15T02:16:30+09:00 Subject: Re: Ruby socket does not get reply 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/.