after referring the source code, i hardly found difference between ip::tcp::socket::send & ip::tcp::socket::write_some, but about some arguments.

"socket_ops::send" directly invokes system call:"sendmsg" to send message.

------------------
best wishes to you
ÕÅÑÇö­
 
 
 
------------------ Original ------------------
Date:  Wed, Mar 25, 2009 04:59 PM
To:  "boost-users"<boost-users@lists.boost.org>;
Subject:  [Boost-users] [asio] ip::tcp::socket - differences between send &write_some
 
Hi,

What is the difference in implementation between the
ip::tcp::socket::send & ip::tcp::socket::write_some on Linux sys sockets?
What kind of system calls are used in both calls?

Thanks!
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users