• 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: TCP_KEEPIDLE, TCP_KEEPINTVL and FTP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP_KEEPIDLE, TCP_KEEPINTVL and FTP


  • Subject: Re: TCP_KEEPIDLE, TCP_KEEPINTVL and FTP
  • From: Padma Bhooma <email@hidden>
  • Date: Wed, 04 Jul 2012 10:23:47 -0700

On Mac OS X Lion and before there is TCP_KEEPALIVE. In Mountain Lion the network stack supports more options to configure keep-alives as described below. You have to enable keep-alives first using "SO_KEEPALIVE" socket option.

TCP_KEEPALIVE - idle time in between keep-alives when there is a response from the peer
TCP_KEEPINTVL - interval between keep-alives when there is no response from the peer, this is done to probe the peer until there is a response.
TCP_KEEPCNT - number of times keep-alives are repeated before a close when there is no response

Padma

On Jul 2, 2012, at 12:36 PM, Jerry Krinock wrote:

> When uploading a large file from here via FTP, some router along the way kills my FTP Control Connection after 60 seconds, which confuses various programs using FTP.  I understand that the solution is for my FTP program to send "keep alive" messages more frequently.  In the man page for 'ftp' in OS X Lion, I can not find any mention of "keep alive".  In the man page for curl, I see that support is available but only works if the OS supports "TCP_KEEPIDLE and TCP_KEEPINTVL".
>
> Does Mac OS X support TCP_KEEPIDLE and TCP_KEEPINTVL?
>
> Could I maybe solve the problem for all programs by adding default values for these parameters in to a configuration file somewhere?
>
> Thanks,
>
> Jerry Krinock
> _______________________________________________
> 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: 
 >TCP_KEEPIDLE, TCP_KEEPINTVL and FTP (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Questions related to CFHostSetClient, CFStreamError, deprecation and error code
  • Next by Date: CoreWlan 2.0 scan issue
  • Previous by thread: TCP_KEEPIDLE, TCP_KEEPINTVL and FTP
  • Next by thread: CoreWlan 2.0 scan issue
  • Index(es):
    • Date
    • Thread