[Live-devel] deadlock

Hyperbit hyperbit at gmail.com
Wed Dec 7 15:10:49 PST 2005


Whilst I fully appreciate that, I can remove the select line, and use
a while loop around the recv. If I then single step through the loop,
data appears when the select would have blocked indefinately. Even
ethereal tells me data has been sent on the other side (TCP not UDP).

Weird

J

On 12/7/05, Ross Finlayson <finlayson at live555.com> wrote:
> At 04:17 AM 12/7/2005, you wrote:
> >in the function blockUntilReadable(....) the server is waiting
> >indefinately on the following line
> >
> >result = select(numFds, &rd_set, NULL, NULL, 0);
> >
> >Ideas why?
>
> Because the socket is not readable - i.e., there is no incoming data
> on the socket.  The "blockUntilReadable()" function does exactly what
> its name suggests.
>
>
>         Ross Finlayson
>         Live Networks, Inc. (LIVE555.COM)
>         <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>



More information about the live-devel mailing list