sendfile
read して write するよりsendfile で高速化!
http://www.linux.or.jp/JM/html/LDP_man-pages/man2/sendfile.2.html
WindowsにはTransmitFileというAPIが存在するとか。
http://msdn2.microsoft.com/en-us/library/ms740565.aspx
read して write するよりsendfile で高速化!
http://www.linux.or.jp/JM/html/LDP_man-pages/man2/sendfile.2.html
WindowsにはTransmitFileというAPIが存在するとか。
http://msdn2.microsoft.com/en-us/library/ms740565.aspx