<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Ross,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I found something weird in RTSPClient while trying
to acces an Axis server with HTTP tunneling.</FONT></DIV>
<DIV><FONT face=Arial size=2>Joseph Lazaar became in touch with me asking me
about HTTP tunneling with AXIS servers, he couldt make it to work. I tried to
test tunneling with my server and at first didnt work out neither.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Symptom: </FONT></DIV>
<DIV><FONT face=Arial size=2>The RTSPClient freezes in an infinite loop after
sending the DESCRIBE command via HTTP POST.</FONT></DIV>
<DIV><FONT face=Arial size=2>(its like the answer never comes back)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It was quite odd, because when I placed a
breakpoint in a specific place int the RTSPclient code (without changing a
single line) RTSPClient didnt freeze at all !!! But when I compiled my app, and
ran it, it kept frozen.</FONT></DIV>
<DIV><FONT face=Arial size=2>So It sounded like wrong timing for me: I was
unintentionaly introducing a delay with the breakpoint that made things work (I
leave the complete answer to the philosophers).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My homemade solution:</FONT></DIV>
<DIV><FONT face=Arial size=2>I placed Sleep(1) before the following
line in RTSPClient (where the breakpoint made things work):<FONT size=2>
<P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!sendRequest(cmd,
"DESCRIBE")) </FONT><FONT color=#0000ff size=2>break</FONT><FONT
size=2>;</P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>I know its not very elegant, but maybe you had this
sort of problems before and could advise me about how to avoid
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I would really appreciate your
feedback,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Federico Ares</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PD: Any news about the Multicast port problem I
wrote you about?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>