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

Re: [ns] Proxy (gateway) of UDP/TCP



One solution is this: Have two agents a1 and a2. connect source to a1 dest
to a2 and connect a1 and a2. Now you can even look at packets and relay
them. Prob is that you will incurr some extra delays due to queueing etc.
but you may override that with some tricks.

Debo

On Tue, 20 Feb 2001, Adam Wierzbicki wrote:

> Hi,
> 
> I am trying to implement a UDP proxy (gateway) in ns2.  I have found
> some questions about this in the archives, but they were all not
> answered.  From the documentation it is difficult to understand how to
> connect an agent to two other agents so that it can relay packets.
> Maybe it is possible to reconnect on the fly as you forward packets?
> 
> The same question goes for TCP -- although maybe TCPApp could be used for this?
> 
> Thanks in advance.
> 
> Adam ([email protected])
> 
>