slang-users mailing list

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

[slang-users] socket module


Hello,

I've made some improvements to Jeremy's socket module. Socket() now returns a
FD_Type, so you can use read(), write() and select() on it.

So the words of the slang manual

  The other interface is modeled on a lower level POSIX interface
  consisting of functions such as open, read, etc.  In addition to
  permitting more control, the lower level interface permits one to
  access network objects as well as disk files.

have finally come true. You can probably fdopen() it as well, but I
haven't tried that yet.

You can get it at http://www.cheesit.com/downloads/slang/slsocket. The
package includes a simple dict and http client to get you started.

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


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