This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DatagramConnection Timeout  RSS feed

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?


Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!