• 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: Socket connection drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket connection drop


  • Subject: Re: Socket connection drop
  • From: Tony Hansson <email@hidden>
  • Date: Wed, 4 Jun 2008 13:09:15 +0200

Hi

No, the server is still on, waiting for data from the client

>I would imagine that your server timed the connection out.  Unix sockets will stay open indefinitely unless someone closes them.

Before 10.5.2 this is true

>
>If you could run tcpdump on the client machine, you would likely see the server send a FIN after about 30 minutes of inactivity.  I can't tell anything more about your situation without more info.

The time is not absolute, sometimes it runns 2 days before the connection breaks.

If you want i can send you the software where it break in 10.5.2 and later.

Tony
Cognitive AB, Stelvio Bokföring
http://www.ct.se

>
>_Mark
>
>On Jun 3, 2008, at 3:34 AM, Tony Hansson wrote:
>
>>
>>Hi
>>
>>Standard unix (connect,listen,bind,read,write ...) or open transport(cfm,mach-o)
>>
>>This happens whwn the connection has idle for about 30 to 60 minutes.
>>
>>os versions tested 10.2.8 10.3.9 10.4.11 10.5.0 and 10.5.2 10.5.3
>>
>>
>>There are no packet trace, there has not been any activity on the connection.
>>
>>The connection just breaks, this applies to 10.5.2 & 10.5.3
>>
>>/Jesper
>>
>>>What API are you using?
>>>
>>>Could you send us a packet trace?
>>>
>>>_Mark
>>>
>>>On Jun 2, 2008, at 12:52 PM, Tony Hansson wrote:
>>>
>>>>
>>>>Hi
>>>>
>>>>In 10.5.2 & 10.5.3 my socket connections dropps after about 30 minutes.
>>>>
>>>>I've tried KEEPALIVE on the connnection, but still dissapears.
>>>>
>>>>This applies to unix, open transport, intel, ppc, cfm, mach-o.
>>>>
>>>>Any one know why ?
>>>>
>>>>Tony
>>>>
>>>>Cognitive AB, Stelvio Bokföring
>>>>http://www.ct.se
>>>>_______________________________________________
>>>>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
 _______________________________________________
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: 
 >Socket connection drop (From: Tony Hansson <email@hidden>)
 >Re: Socket connection drop (From: Mark Pauley <email@hidden>)
 >Re: Socket connection drop (From: Mark Pauley <email@hidden>)

  • Prev by Date: Re: Socket connection drop
  • Next by Date: Re: Tracking network traffic
  • Previous by thread: Re: Socket connection drop
  • Next by thread: Re: Socket connection drop
  • Index(es):
    • Date
    • Thread