Newsgroups: comp.lang.smalltalk
Path: utzoo!utgpu!cunews!ags
From: ags@scs.carleton.ca (Alexander George Morison Smith)
Subject: Re: Smalltalk and sockets
Message-ID: <1991Mar8.141535.1051@ccs.carleton.ca>
Summary: Networked Smalltalk is possible on Macs
Keywords: Sockets, RPC, MacTCP, AppleTalk, Proxy, Objects, Networking
Sender: news@ccs.carleton.ca (news)
Organization: School of Computer Science, Carleton University, Ottawa, Canada
References: <1991Mar7.164713.18630@cshl.org>
Distribution: comp
Date: Fri, 8 Mar 1991 14:15:35 GMT

In article <1991Mar7.164713.18630@cshl.org> cozza@cshl.org (Steven Cozza) writes:
>I have a question regarding Objectworks/Smalltalk release 4 for the Mac.
>I am working on a client program which will connect over a network to a
>server process running on a Sun (or any UNIX machine).  I can see how to do
>this on the UNIX Smalltalk version (it comes with methods supporting sockets),
>but not for the Mac.  Are there any methods or UDP's out there that have 
>already been written to allow socket-type connections via MacTCP?

I've written some primitives for ParcPlace ST-80 version 2.3 that let
you send and receive simple objects (nil, Boolean, SmallInteger, Float,
String, Array of anything in this list) between Macintoshes.  I've also
built a proxy object system on top of it - giving you remote procedure
calls in effect (remote message sends).  This uses a custom protocol,
not MacTCP so maybe it isn't useful to you.  I've posted the source on
BIX in the Smalltalk area. 

By the way, remote message sends are almost trivial to add to Smalltalk. 
Particuarly in PP version 2.3 which has these nice oop numbers and lets
you disinherit a class by making its superclass nil (doesNotUnderstand:
is the hook where you add in the remote message sends). 

- Alex
