lkml.org 
[lkml]   [2004]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectNeed hack to test short socket I/O
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.020 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site