[Ace-users] [ace-users] maybe a bug?
cui shaowei
shaovie at gmail.com
Mon Dec 3 01:48:56 CST 2007
ACE Version : 5.6.0
I found that we can't set the SO_RCVBUF after ACE_SOCK_Acceptor::open ,
because Richard Stevens says (UNIX Network Programming Volume I, 3rd
Edition, 7.5 section): we must setsockopt before listen , instead of
ACE_SOCK_Acceptor::open (...) calls socket , bind and listen,
so what can i do? overload the ACE_SOCK_Acceptor::shared_open? but
it is not virtual
--
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
崔少伟
Tel: 13810421852
QQ: 43458943
MSN: shaovie at hotmail.com
More information about the Ace-users
mailing list