Re: UDP concept help please
On 2005-10-26, person <frank.l.lane@xxxxxxxxxx> wrote:
> I'm trying to write a program to capture a torrent of UDP messages.
> The way I understand it, UDP is an unreliable protocol and packets can
> be lost. However, I want to maximize the amount of traffic I capture
> from the port. My first idea was to have a process with one thread
> that just watched the port and stuffed each UDP message into a message
> queue. Another thread in the same process would fetch messages from
> the queue and do whatever with it.
If packets are lost it will probably be because of network conditions [line
noise, transmission errors, etc] not because you didn't pick them up in time as
you seem to think
.
Relevant Pages
- Re: Possible bug in .Net 2.0 udp sockets?
... You won't miss any UDP packets with a buffer that large! ... R> I called BeginReceiveFrom() several times on purpose, ... If you don't do that, indeed, UDP stack can drop packets. ... it stores it in the queue. ... (microsoft.public.dotnet.framework) - Re: Determining if it is "safe" to send UDP packets
... IMHO for "reliable" UDP you need to use some Quality of service ... Maybe your network is QoS enabled and your traffic gets classified as "below ... > the sender's OS that is throwing the UDP packets away. ... > next 100%-x% are not send, they are almost all completely lost. ... (microsoft.public.win32.programmer.kernel) - Re: Determining if it is "safe" to send UDP packets
... As we are sending on a wireless link (but assuming we are the ... the sender's OS that is throwing the UDP packets away. ... Another problem with TCP is its assumption that a lost packet is due to ... (microsoft.public.win32.programmer.kernel) - Re: UDP packets dropping
... I am facing a problem which anyone who has worked on any UDP ... If packets are lost, no acknowledgements ... upper protocol depends on reliable delivery you have to implement that with ... (comp.os.linux.embedded) - Re: Architecture advise wanted.
... Create a listener thread that listens for udp on port n. ... packets and verifies them, etc and puts them into a queue (blocking queue, ... (microsoft.public.dotnet.languages.csharp) |
|