Messages in this thread | | | From | jlnance@unity ... | Date | Sun, 25 Apr 2004 16:36:50 -0400 | Subject | Need 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/
| |