All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris <chasejunk@optonline.net>
To: lartc@vger.kernel.org
Subject: [LARTC] using traffic shaping to limit a local datagram application
Date: Thu, 12 Feb 2004 17:57:04 +0000	[thread overview]
Message-ID: <402BBE70.6010700@optonline.net> (raw)

I have an probing application that will send data as fast as it can 
(SOCK_DGRAM).  Rather than program shaping into the application I would 
like to know if I can use traffic shaping to slow the application on the 
host system.  i.e., if the queue for the qdisc is full then block (for a 
blocking socket) the socket send/write.  I would like the ability to 
separate the traffic shaping from the application itself.

Will the application be blocked until buffer space frees up or will the 
packet instead be dropped because there is no flow control from a qdisc 
back to local applications?

Thanks,
Chris



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2004-02-12 17:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=402BBE70.6010700@optonline.net \
    --to=chasejunk@optonline.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.