From: jlnance@unity.ncsu.edu
To: linux-kernel@vger.kernel.org
Subject: Need hack to test short socket I/O
Date: Sun, 25 Apr 2004 16:36:50 -0400 [thread overview]
Message-ID: <20040425203650.GA14657@ncsu.edu> (raw)
Hello All,
I would like to check to make sure a program can handle I/O on sockets
which do not accept/return as much data as the program tries to
send/receive. It is difficult to test this since it does not happen
frequently. I would like to hack the kernel somehow so that socket I/O
happens either 1 byte at a time or perhaps (n+1)/2 bytes at a time, where
n is the number of requested bytes. Does anyone know a simple way to do
this?
Thanks,
Jim
reply other threads:[~2004-04-25 20:36 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=20040425203650.GA14657@ncsu.edu \
--to=jlnance@unity.ncsu.edu \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox