public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Need hack to test short socket I/O
@ 2004-04-25 20:36 jlnance
  0 siblings, 0 replies; only message in thread
From: jlnance @ 2004-04-25 20:36 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-25 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25 20:36 Need hack to test short socket I/O jlnance

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox