Hello. I have written a simple sendfile(2) extension module which supports a transfer from a stream socket to a stream socket. For details, you can check the below URL: http://weongyo.org/project/freebsd/sendsock/ I don't know that it is useful but I think that it is helpful when you have a plan to make a proxy.