in reply to Re: Stomp time out error
in thread Stomp time out error

I tried to check for connection time out, but it looks fine.In the below code, even after waiting for 120 min., its printing the "connection defined", but when it comes to $stmp-> connect(); I get the same error.
if(defined($stmp->socket->connected)){ print "\nconnection defined\n"; } $stmp->connect();

So, can socket time out be the only reason. How can I set that up.
I dont want to send the keep alive message as it may increase the traffic at peak times.

Please let me know your inputs.

Thanks,
Manu