slang-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: sltcp


Martin_Doering@xxxxxxxxx <Martin_Doering@xxxxxxxxx> wrote:
>now is a pure c program. I would like two main features of slang for this:
>
>- loading functions on demand

   The autoload function does this.

>- loading of preparsed bytecode for speed.

   Use, e.g.,
   
      () = evalfile ("myfile.slc");

where myfile.slc has been preparsed.

>So naturally I was now on a search for something like a http or socket
>library for slang. I found something like this with the slrn newsreader,
>called sltcp. I think, I could use this. Is there any other general purpose

I wrote sltcp with the idea that it would eventually be merged into
slang.  It even supports connections using openssl.  Eventually I will
create a slang module for it such that one would be able do do

    import ("sltcp", "sltcp");
    variable fd = sltcp->open_connection ("myhost.org", 80, 0);
    % do stuff using sltcp->read, sltcp->write, etc....

--John


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]