Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  JInterface mbox.ping(node, timeout) hangs. why?

bjlee72
Posted: Fri Jul 24, 2009 7:35 am Reply with quote
Joined: 24 Jul 2009 Posts: 1
Hi!

While using JInterface OtpMbox class, I found following problem.

Usually, OtpMbox.ping() methods is used as follows:

if ( mbox.ping(node, timeout) ) {
// the node is alive
}

As the timeout value is specified, this function should return after the amount of time.

But, when the power of the system of the 'node' is turned off, the mbox.ping() does not return. (or it took very very long time to return.)

Is there anybody who knows the solution for this problem?
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum