:zap: KCP - A Fast and Reliable ARQ Protocol
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
kongyt511 opened this issue 2 years ago · comments
ikcp_recv这个函数里会merge segment,一次最多只能读取一个完整数据包,函数第三个形参len貌似没起作用。是否应该当作数据流处理,不处理分包,读满缓冲区。
udp 也不是流式的,为啥 recvfrom 也有一个 size 参数呢?