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

Re: TCP packetSize and Applications




> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to [email protected] using -f
> Date: Thu, 09 Sep 1999 13:26:08 +0200
> From: Anton Riedl <[email protected]>
> X-Accept-Language: en,de
> MIME-Version: 1.0
> To: ns-user <[email protected]>
> Subject: TCP packetSize and Applications
> Content-Transfer-Encoding: 7bit
> 
> I have the following two questions about ns-2.1b5:
> 
> 1.)
> Is it possible to send TCP packets which are smaller than packetSize_ ?
> Although my application does a "sendmsg(n)" with n<packetSize_ , the
> tracefile still shows that the TCP packet is of size packetSize_ .  The
> same is true when I do a "$tcp1 send n" in the script file.
> Do I have to set a certain parameter?
packetSize is the parameter: $source set packetSize_ $value
depending on your version of ns, maybe you should use packet_size_
> 
> I checked the tcp source code (in tcp.cc) and it looks like tcp always
> sends packets with size_ = packetSize_ . UDP sources, however, do it
> differently. Is there a reason for that?
> 
> 
> 2.)
> Is there a way (or which would be the best way to implement it) to feed
> the output of an application into two agents simultaneously? Are there
> applications that can be attached to several agents?

> 
> 
> - Anton
> 
> ------------------------------------------------------------------------
> 
> Anton Riedl
> 
> Lehrstuhl fuer Kommunikationsnetze
> TU Muenchen, Arcisstr. 21, D-80290 Muenchen
> Tel:   ++49 89 289-23506
> Email: [email protected]
> WWW:   http://www.lkn.e-technik.tu-muenchen.de/~anton
> ------------------------------------------------------------------------
> 
> 

Tarik Alj
INRS-Telecommunications
16 place du commerce
Verdun (Ile des Soeurs), Qc, H3E 1H6
Canada
Tel: 514 761 8611
Fax: 514 761 8619