Hi--
A new release of the correspondents networking framework is available. This one is one alpha 2. The socket support actually works! It's missing complete serial port and MIDI support (I'll integrate from existing sources), a few situations are undefined, a few non-critical things are undeclared, and I'm writing more examples.
As you may recall, the correspondents framework handles much of the busywork in writing new clients and servers. It includes a NetStream class whose instances can stream over several different external resources, including TCP and UDP sockets, MIDI ports, and serial ports. It uses a Berkeley-style primitive interface, and synchronization based on (Smalltalk) semaphores, instead of the current polling approach. Timeouts are supported, via those semaphores. Servers can handle multiple clients.
This release uses new networking primitives. The source for them, and a new virtual machine, are included for the Win95 platform.
It's at http://www.netjam.org/self/projects/smalltalk/correspondents.html. Please try it out and let me know what you think!
thanks,
-C
-- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org latta@interval.com Smalltalkers do: [:it | All with: Class, (And love: it)]
Craig Latta wrote:
This release uses new networking primitives. The source for them, and a new virtual machine, are included for the Win95 platform.
Could you maybe tell us what the estimated effort would be to port this to other platforms, or how the new primitives differ from the standard networking primitives?
-- stp
Stephen Travis Pope | stp@create.ucsb.edu | http://www.create.ucsb.edu/~stp
On Fri 26 Mar, Stephen Travis Pope wrote:
Craig Latta wrote:
This release uses new networking primitives. The source for them, and a new virtual machine, are included for the Win95 platform.
Could you maybe tell us what the estimated effort would be to port this to
other platf
orms, or how the new primitives differ from the standard networking
primitives? I thought I should point out that Craig is on vacation for a few days and so answers to this important question might seem rather delayed. I can say that he thought about other platforms whilst designing the code - there's no way I would let him get away with not doing it, seeing that there is only a cubicle 'wall' between us! Some of you know how opinionated I am about portability.... the rest of you are lucky :-) If works out as well as hoped, the prims should be easy to port to any platform that can thread and be only a little harder for threadless platforms (like my Acorn) to handle.
tim
squeak-dev@lists.squeakfoundation.org