问题补充说明:setsockopt( s, SOL_SOCKET, SO_LINGER, ( const char* )&m_sLinger, sizeof( linger ) ) SOL_SOCKET; IPPROTO_TCP; SO_LINGER; TCP_NODELAT;这些都是可以用整数值代表的吧,我用易语言编,只能填整数,我又搜不到知道的说下,谢谢
#def精持望兵怀行答伟团ineSOL_SOCKET0xffff/*optionsforsocketlevel*/
#defineIPPROTO_TCP6/*tcp*/
#defineSO_LINGER0x0080/*lingeroncloseifdataprese志术依只圆nt*/
#defineTCP_NODELAY0x0001