Hello!

My program receives data from the socket and writes it to a file -- with the 
usual read()/write() tedium.

Is there anything zero-copying like sendfile() for the socket->file direction?

In fact, sendfile's API may allow to use it in any direction, but the manual 
is quite explicit, that the second (destination) argument must be socket.

recvfile()? Thanks!

        -mi
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to