How to transmit user-defined object between client and server?
kwiyi woo
kwiyiwoo at yahoo.com
Thu Jun 3 03:37:06 UTC 2004
Hello,
I need to create a client and server application. I need to exchange information between client and server. I know I can use socketstream to transmit string between clent and server.
But I need to exchange info which is not a string, but an user-defined object. I cannot find corresponding class in Squeak 3.6. The only thing I find might be helpful is class ArbitraryObjectSocket. But when I tried to initialize it by
arbisocket := ArbitraryObjectSocket on: aSocket.
it threw error message.
Does anyone know how to exchange object and cast it in this situation?
Thanks
Kwiyi
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040602/912207e0/attachment.htm
More information about the Squeak-dev
mailing list
|