[gstreamer-bugs] [Bug 167509] [PATCH] [tcpserversrc] Assumes a blocking socket

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Feb 17 15:18:33 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=167509
 GStreamer | gst-plugins | Ver: HEAD CVS





------- Additional Comments From Tim-Philipp Müller  2005-02-17 18:18 -------
I'm not sure about the

 ret = read (...);
 if (ret <= 0)
 {
    error out
 }


I think ret == 0 is a valid return value on a non-blocking socket, and signals
that the other end has closed the socket. Will look into it in more detail
tomorrow if I get around to it.

Cheers
 -Tim


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list