问题补充说明:setsockopt( s, SOL_SOCKET, SO_LINGER, ( const char* )&m_sLinger, sizeof( linger ) ) SOL_SOCKET; IPPROTO_TCP; SO_LINGER; TCP_NODELAT;这些都是可以用整数值代表的吧,我用易语言编,只能填整数,我又搜不到知道的说下,谢谢
#defineSOL_SOCKET0xffff/*optionsforsocketlevel*/
#defineIPPROTO_TCP6/*tcp*/
#defineSO_LINGER0x0080/*lingeronclose总板阶约活乙雷ifdataprese再米旧顾激nt*/
#defineTCP_NODELAY0x0001
标签:setsockopt
版权声明:文章由 神舟问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.shenzhouwen.com/article/227039.html