You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
251 B

mac 上 不知道为啥 Socket.Select(m_readList, m_writeList, m_errorList, 0);会没效果,明明有数据,select不出来,改成socket.poll就是对的
所以在苹果下,网络模式只能开启异步模式,有人有时间可以研究下