Hi, everyone!
I have a problem with a little server application. It's supposed to use
Discovery to send every client requesting a connection its ticket. The rough
idea is
class MyObscureServerName from Discovery.server AndOtherObscureClasses
attr
ticket:unit
...
meth init(MyObscureArguments)
...
ticket := {Connection.offerUnlimited {MakeStat self}}
...
(Discovery.server , init(port:7878 info:@ticket))
...
end
...
end
(using the function MakeStat from the documentation on the website)
When some object which is a subclass of Discovery.client tries to find the
server using getOne... nothing happens. Well. After the timeout period my
object tells me that it hasn't found anything. As the server is running on
the same machine one can't say that it's a network thing.
When I replace the @ticket with a constant like 2 the client object finds it
and displays it.
What's wrong with the code above? Why doesn't it work the way expected?
Thanks for your help,
Jens
--
Jens Grabarske (Research), DFN-CERT Services GmbH
https://www.dfn-cert.de, +49 40 808077-621 / +49 40 808077-555 (Hotline)
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users