• 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
Re: Problem with restarting server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with restarting server


  • Subject: Re: Problem with restarting server
  • From: Frederick Cheung <email@hidden>
  • Date: Wed, 17 Aug 2005 19:55:47 +0100


On 17 Aug 2005, at 19:51, ptr wrote:

Hi,
I have a problem with restarting my tcp server. I'm using AF_INET, SOCK_STREAM
sockets. I close server socket and then i want to run server again on
the same port, but I receive error during bind. I must wait from 30secs
up to 2minutes and then it is possible to run server again.

This is normal default behaviour. You can disable it with the SO_REUSEADDR and SO_REUSEPort socket options.


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


References: 
 >Problem with restarting server (From: ptr <email@hidden>)

  • Prev by Date: Problem with restarting server
  • Next by Date: Refusing connections
  • Previous by thread: Problem with restarting server
  • Next by thread: Refusing connections
  • Index(es):
    • Date
    • Thread