[Ns-bugs] [Bug 244] PacketSink is not multitasking

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Jul 1 13:50:30 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=244





------- Comment #1 from raj.b at gatech.edu  2008-07-01 16:50 -------
Created an attachment (id=190)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=190&action=view)
test case: multiple applications connect to one sink

TcpSocketImpl forks internally and calls up to the application.  In this case
of just a sink, the server ignores this NotifyNewConnectionCreated upcall
(which it should, what would it do with the socket it gets?).  See the modified
tcp-large-transfer attached for a (admittedly ugly) test case of two
applications connecting and sending to a single sink. 

Are you suggesting that the packet-sink needs to maintain a list of accepted
sockets perhaps, and some per socket state?  Or does the application itself
need to fork for each connection accepted?  To what end, its just a dummy sink
with nothing in it but some application level rx tracing you can hook into.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list