Sendfile in erlang
Mon Nov 17 15:43:33 CET 2003
> The difference was that I introduces a new send directive to
> gen_tcp which allowed to mixing gen_tcp:send and gen_tcp:sendfile call
> on the socket.
That would be even cleaner. However, sendfile() destination can be a TCP
or UDP socket. It could even be a file, although it's not yet implemented.
The only requirement is that the source is a "real" file and not a socket,
named pipe or device.
More information about the erlang-questions