<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body dir="auto">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">Hi Ross,</span><br>
<blockquote type="cite">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>I found for rtsp/rtp over tcp, it seems that it doesn't destrcuct RTSPClientConnection and call closeSockets to close sockets after teardown for rtsp. Is it normal?<br>
</p>
<p><br>
</p>
<p>for rtsp over udp, I found it will close socket when handling handleRequestBytes(-1) in RTSPServer.cpp, </p>
<p>but for tcp, after handling teardown, it doesn't call <span style="text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: calibri,arial,helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: #ffffff;">handleRequestBytes</span><span style="text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: calibri,arial,helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: #ffffff;">(-1</span><span style="text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: calibri,arial,helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: #ffffff;">)
to close socket</span>.<br>
</p>
<p><br>
</p>
<p>Thanks.</p>
<p>/Qian<br>
<br>
</p>
</div>
</div>
</blockquote>
</body>
</html>