• 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: Tue, 1 Jul 2008 13:41:28 +0200

Hi

Old app's that we must support.

We are using bsd socket in our new app's

Tony

Cognitive AB, Stelvio Bokföring Lön Ekonomi för Mac
http://www.ct.se/


>A better question is why you're using OpenTransport...
>
>I would strongly recommend that you either use NSURLConnection, CFSocketStream or bsd sockets directly.
>
>OpenTransport is likely ripe for the reaping at any time, and has been since OSX was incepted.
>
>_Mark
>
>On Jun 28, 2008, at 3:48 AM, Tony Hansson wrote:
>
>>
>>Hi
>>
>>10.6 beta does it seem to work fine on.
>>
>>10.5.2 & 10.5.3 seem to have a bug in OpenTransport
>>
>>Regards
>>Tony
>>
>>>I would imagine that your server timed the connection out.  Unix sockets will stay open indefinitely unless someone closes them.
>>>
>>>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.
>>>
>>>
>>>_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

  • Prev by Date: SOLVED OpenTransport
  • Next by Date: Re: HTTP (NTLM) authentication with Cocoa
  • Previous by thread: SOLVED OpenTransport
  • Next by thread: anything change on the email front?
  • Index(es):
    • Date
    • Thread