<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><div>               I able to make MFC GUI application and able to solve all the issues. The only issue i have (due to lack of my knowledge of your library) that how I find out if the connection is established correctly or not. What I mean that if the customer add wrong IP Address, how do we find out the connection successfully created or not. I tried with testRTSP program, where doEventLoop loop runs once and program exits. But my program is a multithreaded application, where I am receiving video on one thread and customer can add IP Address in GUI thread. So, I want to give notification if the connection is not created successfully so that customers can correct the IP Address. Also, is there event fires when we lost connection after the
 connection is already established?</div></div></div></blockquote><div><br></div></div>Your question is confusing, but I'm guessing that you're referring to using our software as a RTSP client.<div><br></div><div>Note that - with our "RTSPClient" class - the RTSP (TCP) connection is not attempted until the first time that a RTSP command is sent.  So, to test whether the connection gets established OK, just (try to) send a RTSP "OPTIONS" command, by calling</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>RTSPClient::sendOptionsCommand( ... )</div><div>with a 'response handler' function as parameter.  The "resultCode" value in the resulting handler function call will tell you whether or not the command succeeded.</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>