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

RE: [ns] Is there ways to schedule packet transmission in TCL



If you read udp's sendmsg(), you'll find that it (perhaps) only add a little
detail. If you want to skip those stuff, call Agent::send() or
Agent::send*() directly; see agent.h for available functions. Is this what
you want?

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Anaking
> Sent: Wednesday, May 31, 2000 1:34 PM
> To: Haobo Yu
> Cc: NS-USERS
> Subject: Re: [ns] Is there ways to schedule packet transmission in TCL
>
>
> Thanks Haobo.
>
> I modify udp.cc and add otcl command send(size_,0) which call udp's
> sendmsg() for udp agent. But I need to take over all the send function.
> Is there method to stop agent transmission so that I can control it's
> transmission at large? I only know that "$src stop" is for
> application stop.
>
> Your furthure help is very much apreciated.
>
> On Tue, 30 May 2000, Haobo Yu wrote:
> > Then you implement an otcl binding for that send packet
> interface and call
> > it in otcl. See send in message.cc
> >
>