NetworkServer problem
Ignacio Garcia <[email protected]> Thu, 24 Feb 2005 03:48:01 -0300 (ART)
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
Hi, I made some simple experiments with NetworkServer,
trying to call Controller's methods via net (both
locally and thru Internet), but found an unexpected
problem: All method names get truncated to just the
first 7 characters.
Here is some sample code:
@use Control.
@use NetworkServer.
Controller testnet.
Control : testnet {
+ variables:
something (object).
test-net (object).
+ to init:
test-net = new NetworkServer.
test-net listen on-port 5555.
#print (test-net get-url).
something = new Shape.
#self watch item something.
+ to helloworld:
print "HelloWorld (helloworld)".
return "HelloWorld (helloworld)".
+ to hellowo:
print "HelloWorld (hellowo)".
return "HelloWorld (hellowo)".
}
If I call this from a browser with
http://therighturl:5555/helloworld
it calls hellowo instead (if I don't have a "hellowo"
method the it complains about a non-existent method
call).
The same happens with
http://therighturl:5555/hellowoanything
which seems to indicate that the method name is being
truncated to just the first 7 chars. I tried various
ports just in case, always with the same result.
Is this a known bug? Are there any workarounds?
Thanks
Ignacio
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve