[gstreamer-bugs] [Bug 487488] udpsrc errors

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 18 02:23:35 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=487488

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #4 from Laurent Glayal  2007-10-18 09:23 UTC -------
On an udp connected socket the ICMP messages are not frequent (not enough ICMP
errors as packets sent (don't know really why...but it's quite a good thing)),
so iterations around select() call are restricted.

It's quite difficult to detect errors using select, code could switch to
poll().
Using poll() errors on file descriptor (shutdown/close on fd would be detected
by poll), but errors from network (like ICMP messages) are only detected by
next system call (such as read/recv). 

I see no easy way to handle errors as the file descriptor is full duplex and
not only used for receiving.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=487488.




More information about the Gstreamer-bugs mailing list