streaming data across a network
Posted on 1998-05-15
I am trying to figure out how to stream data from a server to a across the network. I am using UDP since it needs to be fast and I only need the latest packets. The problem I have is how does the server know that it is sending packets to fast? If I kill the server the client will still be receiving data for a while afterwards. If the client and the server are both on local machines this will not happen so it seems that stuff is getting delayed on the network?
So the root of the question is how do I find the optimal speed to send datagrams?