• Post Reply Bookmark Topic Watch Topic
  • New Topic

DatagramConnection Timeout

 
Todd Plambeck
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running an app on a Motorola i88s/i58sr using UDP. I open a DatagramConnection and send a message. I then listen on the same connection for a reply. DatagramConnection.receive(myDataGram). It doesn't appear that this will ever timeout. I am correct in this assumption? Is there any way to set the connection timeout? If not how can I handle anunresponsive server?

Thanks,

Todd
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!