一般收到多少byte会触发一个onReceive()呢,有没有什么规律?

解决方案 »

  1.   

    没说有多少个byte会触发一个onReceive(),只要有对方有send发送过来一般都能触发onReceive
      

  2.   

    那么假如说对方一次send很大一个包比如512k字节,那么一般多少byte触发一次?
      

  3.   

    你一次发送512k字节不一定一次能发送得完,看看你的send返回值是多少了
      

  4.   

    没有规律。你只要认定OnReceive调用到就说明有数据到了。====================
    欢迎使用汉奥Sinox系统。
      

  5.   

    Called by the framework to notify this socket that there is data in the buffer that can be retrieved by calling the Receive member function. 
      

  6.   

    OnReceive调用只是说明有数据到了