Thanks for your answers. I had a look at the thesis that proposed TCPSpeaker. It seems interesting to use this element. But the only example given is in the case of a proxy. My need is much simpler: two hosts: one source and one sink communicating with TCP. So how to generate the flow in the source and send it to the sink? let's say with RatedSource, can I have (in the source) roughly something like : RatedSource (...) -> [0]TCPSpeaker TCPSpeaker[0] -> ToDevice(eth0) FromDevice (eth0) -> [1]TCPSpeaker TCPSpeaker[1] -> ToDevice(eth0)
Actually, I didn't understand the utility of having two output and two inmput ports. Any suggestion would help. Quoting Harald Schioeberg <har...@net.t-labs.tu-berlin.de>: > Hi Manel, > > If you want native TCP connections from within click, there is still the > TCPSpeaker element, which we once presented on the SyClick Workshop. > > The sources are in here: > git git://bowl.net.t-labs.tu-berlin.de/click.git > > and the slides and presentation videos from that workshop are also > online > http://www.syclick.ua.ac.be/ > > It works well in our test-cases, but was not yet used in real world, and > I expect some hickups. > > Harald > > > On Mon, 2010-11-22 at 14:40 -0500, Ian Rose wrote: >> I'm not 100% clear what you are trying to do - perhaps the Socket >> element will help? It lets you set up network connections between hosts >> for transferring packets between them. >> http://read.cs.ucla.edu/click/elements/socket >> >> >> >> On 11/22/2010 10:15 AM, manel.bourgu...@lip6.fr wrote: >> > Hi all, >> > >> > I am trying to establish a TCP connection between Host1 and Host2, and >> > then generate a TCP flow from >> > Host1 to Host2. I had a look at the available Click elements dealing >> > with TCP, but couldn't find any >> > example. I would be grateful if anybody could provide me minimal >> > config files for the two hosts. >> > Should I use TCPConn? if so, how? >> > >> > Thanks a lot. >> > >> > >> > >> > >> > _______________________________________________ >> > click mailing list >> > click@amsterdam.lcs.mit.edu >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> _______________________________________________ >> click mailing list >> click@amsterdam.lcs.mit.edu >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > > _______________________________________________ > click mailing list > click@amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > Manel BOURGUIBA PhD Candidate PHARE - LIP6 - UPMC - Sorbonne Universités BC169 - Office 25/26-319 4 place Jussieu 75252 PARIS cedex 05 +33 1 44 27 61 88 _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click