Internet-Draft M. Larue draft-add-ackfreq-to-tcp-00.txt Rupy Expires: December 26, 2018 November 26, 2017 Custom TCP Ack. Frequency Abstract You should be able to configure the amount of unacknowledged packets a tcp socket uses to throttle sends. Copyright Copyright (c) 2013 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/1id-abstracts.html The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html Table of Contents 1. Introduction ................................................... 1 1. Introduction To do this you just need to add a TCP_ACKFREQ option: int freq = 5; setsockopt(sock, IPPROTO_TCP, TCP_ACKFREQ, (char*) &freq, sizeof(int)); Where 5 is an example of how many unacknowledged packets the socket can send without blocking, right now this number is hardcoded to 2. Authors' Addresses Marc Larue Sweden M. Larue Internet-Draft [Page 1]