From: Lareb Nawab on
Veera Sundaravel wrote:
> Hi Zablon,
>
> No problem, thanks for instant reply. If I can solve the issue, I'l keep
> you posted.
>
> Regards,
> T.Veeraa.

Hi,

I am trying to send some message over the gtalk, here is my code

require 'rubygems'
require 'xmpp4r-simple'

jabber = Jabber::Simple.new('lareb.indore(a)gmail.com','my_passwrd')

but I am getting this error

-------------------------------------------------------------
`initialize': A connection attempt failed because the connected party
did not properly respond after a period of time, or established
connection failed because connected host has failed to respond. -
connect(2) (Errno::ETIMEDOUT)
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in
`new'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:66:in
`connect'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:70:in
`connect'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:394:in
`connect!'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:322:in
`client'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:331:in
`send!'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:147:in
`status'
from
E:/ruby/lib/ruby/gems/1.8/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb:90:in
`initialize'
--------------------------------------------------------------
can u plz help me, I really need this.

Thanks,
Lareb Nawab
--
Posted via http://www.ruby-forum.com/.