https://gist.github.com/MaikKlein/6586333
Basically what happens is that a packet is read "partially" if the buffer is to small for the packet. According to http://gafferongames.com/networking-for-game-programmers/sending-and-receiving-packets/this should not happen. In my case I send [99u8,99u8] which should be of size 512 and my buffer is [0u8,..1] which should be of size 256. But it still receives the first 99.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
