On 27 Jan 2010, at 15:51, <[email protected]> 
<[email protected]> wrote:

> 1) it's possible or not to use something like a include directive into my 
> router.click file? The includded file would content elementClass or compound 
> definitions?
> 

There are a number of options, but we tend to use the gcc preprocessor (gcc -e) 
before running the script, specifying the include file with
#include "somepart.click"
This works perfectly.

As far as I know, there are (currently?) no language constructs to import or 
include other configurations. It would require hacking the parser, so we use 
the method described above when we need this.

> 2) for test, i need to instatiate two differents configuration (to launch  
> ./click myrouter1.click and .click myrouter2.click in two different consol 
> and allow to my two differens router to comunique together ( output of router 
> connceted to outpout of router2.
> I's possible?
> Wich element may be used at this "intercommuniction port ? 
> I precise : I work at user-level end my frames are not ethernet nor ip 
> compliant


I agree with the previous replies, I would use the socket port.

best regards,
Bart
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.27
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.38.82
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be


_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to