[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sockets



There is no socket library. As you say, GOO has no threads, so asynch IO 
is a necessity for servers. Unfortunately, GOO has no main event loop 
either, so even asynch IO won't really work nicely, especially if you 
want to mix it in with something like GTK event handling.

James

On Wednesday, April 17, 2002, at 06:37  AM, Chris Double wrote:

> Is there a socket library for Goo? If not, to cut my teeth on Goo I
> thought I'd port a simple tcp socket library I wrote for Corman Lisp
> [1] and ported to SmallScript [2].
>
> Currently Goo has no threads so blocking sockets are going to be a bit
> limited I'd imagine. Server applications wouldn't be able to spawn
> threads to handle requests. Maybe asynchronous sockets would be better
> but I'll probably stick with blocking and wait for thread support some
> day, or a better socket library :-)
>
> [1] http://www.double.co.nz/cl/#sockets
> [2] http://www.smallscript.org
>
> Chris.
> --
>   Chris Double
>   chris.double@double.co.nz
>