2010/9/6 Aranganathan Sankaradoss <span dir="ltr">&lt;<a href="mailto:arang1978@gmail.com">arang1978@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hello Sir,<br><br>       I am desperately in need of your help.<br><br><br>I am using openRTSP source code. If I call the main function again then I get the following error &quot;Segmentation fault (core dumped)&quot;<br>
<br>
My aim for calling the main ( ) function again is that after RTSP server reset, openRTSP must keep trying to connect with RTSP server again.<br><br>In sessionAfterPlaying ( ) function, instead of calling exit ( ) function, I call main ( ) again.<br>

To call main ( ), I just copied the main ( ) into a new function named RTSP_main () and I am just calling RTSP_main ( ) in place of exit ( ).<br><br></blockquote><div><br>Could you post your code?  And why are you doing this?  It seems like you could have an issue with infinite recursion, for one.<br>
<br></div></div><br>