Nothing terribly fancy;  very, very ugly and not very well laid out; but
cut #1 of a simple TCP proxy that I'm using for toying around with network
IO benchmarking:

http://www.creative.net.au/diffs/test1-320.tar.gz

Edit Makefile.defaults to point to where libevent is hiding, and then 'make'.
The destination host/port is hardcoded in tcpproxy-1/test.c ; I point it at a
lighttpd/thttpd server and run apachebench against the proxy.




Adrian

Reply via email to