[Click] ControlSocket in kernel click - read handles remotely.

Paine, Thomas Asa PAINETA at uwec.edu
Tue Mar 21 10:27:42 EST 2006


Torquato,
	What I've done with my applications is used XML-RPC.  I've
written small servers, in both C and Java, that run on the click box
allowing access to the /proc/click virtual files (reads/writes).  Then
you just call the exposed RPCs with an XML-RPC client implementation
(can be different than the server) in your application.  Some of the C
implementations are very fast.  In some cases I'm polling at or less
than 1ms per query (C server, Java client).

Choose your implementation flavor to work with....
http://www.xmlrpc.com/

Hope that helps.

Thanks, 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
   Thomas Paine (paineta at uwec.edu) 
   University of Wisconsin - Eau Claire 
   garbage foo(garbage g){return(g);} 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

-----Original Message-----
From: click-bounces at pdos.csail.mit.edu
[mailto:click-bounces at pdos.csail.mit.edu] On Behalf Of Torquato Bertani
Sent: Tuesday, March 21, 2006 3:59 AM
To: click at pdos.csail.mit.edu
Subject: [Click] ControlSocket in kernel click - read handles remotely.

Hi, I'm looking for a solutions to read (maybe also write) click
handlers from an application running on another machine where click is
running.
I founded ControlSocket element, but it works only at userlevel click
and I use click as kernel module. Also I didn't understand if
ControlSocket opens the socket only for local applications.

Does anyone have suggestions?

Thanks
Torquato

_______________________________________________
click mailing list
click at amsterdam.lcs.mit.edu
https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list