[Click] Help, about handler

Beyers Cronje bcronje at gmail.com
Wed Jan 19 14:48:15 EST 2011


Hi Chuan,

To elaborate on Cliff's response, here is the documentation on
ControlSocket http://read.cs.ucla.edu/click/elements/controlsocket

You can either explicitly define the ControlSocket element in your config,
or start click with the -p option, e.g. 'click test.click -p 1000'

On Wed, Jan 19, 2011 at 6:36 PM, Cliff Frey <cliff at meraki.com> wrote:

> Hi Chuan,
>
> Assuming that you are running click in userlevel, you should look at the
> ControlSocket element.  It will open up a socket that you can connect to
> and
> send commands to.
>
> Cliff
>
> On Wed, Jan 19, 2011 at 4:58 AM, wubaochuan <wubaochuan at seu.edu.cn> wrote:
>
> > Hi all,
> >     I am using user level Click, and there is an element called
> > *DirectIPLookup*, the element has a handler called *set*, how can I use
> > this handler to add a route ?
> >     For example, a process called *foo* want to add a route to
> > *DirectIPLookup, *how can *foo* communicate with Click process and the
> > element *DirectIPLookup *in order to use* set *handler to add a route*?
> > *     Thank you.
> >
> > yours
> > Chuan*
> > *
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list