From: David A. <da...@fo...> - 2004-03-01 22:48:58
|
ahoward wrote: > 1) Player's default PUSH mode will write data at a more-or-less constant > rate, and it is the client's reponsibility to keep up. You really cant > afford to go away for a few seconds to think about things, then come back > and read new data. There are two problems: 1. the data is queued (by the > TCP stack) so the data you read may be several seconds out-of-date, and 2. > if the server writes faster than the client reads, the TCP queues will > overflow and you will get corrupt data. <nitpick> I think not. TCP guarantees end to end delivery. Any queues overflowing will be at the application level. I imagine what will happen is that (eventually) sending will fail on the transmitting side and this will not be handled (probably ignored). </nitpick> David Austin --- d.a...@co... Robotic Systems Laboratory, Hiroshima '45 Department of Systems Engineering, Chernobyl '86 RSISE, Australian National University Windows '95 |