[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Re: Unable to send packets downstream



hi,

Iam sending the test TCL script which i wrote and also the new RTP and
RTCP Agents that i have created...

Test TCL Script : rtcptest.tcl
Modified Agent Code : modify_rtp.{cc, h}, modify_rtcp.cc

i will b very grateful if somebody can spend some time to go thru this
and help me in figuring out the problem....

thanks,
Manoj.


> i did some experiments on the RTP and RTCP Agents and found that the
> RTCP Agent can send packtes only in "Multicast mode" and fails to send
> packets when it is in "Unicast mode"....
> 
> In unicast mode, it fails at target_->recv(p,0) line in the
> sendpkt() procedure in rtcp.cc...A "segmentation fault" occurs at this
> point..
> 
> can anybody please explain me the reason behind this and suggest how to
> overcome this problem...
> 
> thanks in advance,
> 
> Manoj Kumar.
> 
> problem and found On Thu, 22 Nov 2001, Manoj Kumar Chinnakotla wrote:
> 
> > hi,
> > 
> > I have an RTP Agent(Sender) which transmits packets to an RTCP  
> > Agent(receiver). The RTCP Agent sends receiver reports(packets) once in a  
> > fixed interval.
> > 
> > The Actual Problem :
> > 
> > Iam able to send the packets from the RTP Agent to the RTCP Agent but not
> > in the reverse direction...I mean, the RTCP Agent is not able to send
> > report packets back to the RTP Agent. It is failing at
> > target_->recv(p.0)..at this point "Segmentation Fault" Occurs.
> > 
> > I have checked the Destination Address in the IP header. it is correct.
> > 
> > Anyone please help me....
> > 
> > thanks,
> > Manoj.