Thank Martijin UDP can get high speed. But it will lead to packet loss when the speed is too high. I don't know if high realtime and reliability protocols exists! B.R. Lu -----Original Message----- From: Martijn van Oosterhout [mailto:kleptog@svana.org] Sent: Tuesday, June 15, 2004 6:42 PM To: MCG LU Fengcheng Cc: linux-net@vger.kernel.org Subject: Re: Are there any high realtime and stable protocols? On Tue, Jun 15, 2004 at 06:10:14PM +0800, MCG LU Fengcheng wrote: > Hello all > I find the tcp is not fit for the high realtime communication > in the LAN. For the small packets(e.g.64Bytes), > some packets will be delayed for 30ms. It's too long. > Are there any high realtime and stable protocol(opensource & > commerical)? In the LAN communication, > the delay time MUST be less than 10ms for the small packets. TCP is not really there for real-time, it's there for reliability. Try UDP, which can blast packets as fast as you want, but doesn't guarentee any kind of delivery... Sound/video streaming protocols tend to use a TCP connection for configuration and connection setup and then UDP for the data. Hope this helps, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html