[ANN] Ma client server
Markus Fritsche
Fritsche.Markus at gmx.net
Mon Feb 3 21:53:49 UTC 2003
Am Montag, 3. Februar 2003 19:46 schrieb Chris Muller:
> This is a stable framework for writing client-server programs. It offers
> two-layers of usage from which you can choose. 1) send and receive
> ByteArray's or 2) send and receive objects.
As far as I understood the documentation, the following should send 'aaa' and
receive 'Hello world!'?
MaServerSocket new listenOn: 12345 answer: [ :requestByteArray | 'Hello
world!' ].
mySocket _ MaClientSocket hostAddress: #(127 0 0 1) port: 12345.
mySocket sendData: #(65 65 65)
Regards, Markus
More information about the Squeak-dev
mailing list
|