is my thinking correct?
Posted: Wed Dec 22, 2004 11:45 pm
when reading data from the network, i should just read more bytes in then what my clients are sending.
For the longest time, i thought if i did that i would read into the next set of packets.
in theory i could let the packets que up 2k in bytes and if each packet sent was 10 bytes, i could read in 5k at a time and never touch the other packets. only the 10 bytes.
For the longest time, i thought if i did that i would read into the next set of packets.
in theory i could let the packets que up 2k in bytes and if each packet sent was 10 bytes, i could read in 5k at a time and never touch the other packets. only the 10 bytes.