• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
getting the socket?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting the socket?


  • Subject: getting the socket?
  • From: Jaime Magiera <email@hidden>
  • Date: Wed, 5 Jul 2006 18:55:17 -0400

Hello,

Every once in a while, there will be a crash that leaves my WO app unable to restart (error: "Cannot bind to address"). Folks on the Network Programming list suggested the SO_REUSEADDR and SO_REUSEPORT UNIX commands as methods to avoid this. In Java, that translates to ServerSocket.setReuseAddress().

Is there anything in the WO API for accessing the current socket so that I might set this value?

Eventually, I'd like to debug the various code sections to prevent these types of crashes overall. However, I'm using WO and QTJava, which can be quirky.

thanks for any help,

Jaime
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: getting the socket?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WWDC WO Meet
  • Next by Date: Re: getting the socket?
  • Previous by thread: [MEETING] - Reminder: tacow 7/11
  • Next by thread: Re: getting the socket?
  • Index(es):
    • Date
    • Thread