<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Reliable UDP -- does it make
sense?</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">also the eventloop stops if doGetNextFrame gets no
data</font></blockquote>
<div><br></div>
<div>This is wrong. Your "doGetNextFrame()"
implementation should never block. If no data is immediately
available, then it should just return (immediately, without
blocking). The later arrival of data should (somehow) get
handled as an event within the event loop. (The event handler
might just end up calling "doGetNextFrame()" again - and
this time it'll succeed in getting data and delivering it to the
downstream object.)</div>
<div><br></div>
<div>But in general, only you can debug your own new code.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>