click ControlSocket bug: checkread/checkwrite handlers broken (?)
Douglas S. J. De Couto
decouto at lcs.mit.edu
Fri Oct 5 12:08:17 EDT 2001
checkread/checkwrite results don't correspond to the read/write information
returned by the handlers list.
to repeat:
bermuda% telnet grid-6-wired.lcs.mit.edu 7777
Trying 18.26.4.130...
Connected to grid-6-wired.lcs.mit.edu.
Escape character is '^]'.
Click::ControlSocket/1.1
read ggi.handlers
200 Read handler `ggi.handlers' OK
DATA 58
is_gateway rw
handlers r
ports r
config rw
name r
class r
read ggi.is_gateway
200 Read handler `ggi.is_gateway' OK
DATA 6
false
checkread ggi.is_gateway
511 No handler named `ggi.is_gateway'
also, you can try the new csclient.cc code.
cd click/apps/csclient
g++ -Wall csclient.cc
a.out 18.26.4.130
look at the check_handlers test matrix at the end of the output...
d
--
Douglas S. J. De Couto decouto at lcs.mit.edu
More information about the click
mailing list