Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Robbert VanRenesse <rvr@cs.cornell.edu>
To: caml-list@pauillac.inria.fr
Subject: socket library for ocaml
Date: Fri, 07 Jun 1996 13:49:59 -0400	[thread overview]
Message-ID: <2.2.32.19960607174959.0090c574@popsrv.cs.cornell.edu> (raw)


I have made an initial distribution of a socket library.  It is supported not
only under Unix, but, using Winsock, also under systems like Windows 95.  I
have only compiled it under Unix, and compiled and tested it under WinNT 4.0,
but expect little difficulty.  For WinNT, I used Visual C++ 4.1.

The socket module supports all socket operations, select(), and gettimeofday().
It's called Socket.  For documentation, see the Unix documentation (but use
Socket. rather than Unix.).  For many applications, it should make the Unix
library obsolete, resulting in greater portability among platforms.  For
example, it should make a port of CamlTk to Windows pretty easy, for those
whom are inclined to try this.

You can get the socket module by anonymous ftp from
   ftp.cs.cornell.edu/pub/isis/horus/ocaml/socket.tar[.gz]
Untar it in the otherlibs directory, and run "make" followed by "make install"
(under Windows:  nmake -f Makefile.nt).  You have to define HAS_SOCKETS in
config/s.h first.

Feedback is highly appreciated.  My hope is that Xavier will include this
in the official ocaml distribution, and we know how he insists on quality!
I'm currently not supporting the entire Winsock API (particularly not the
Winsock 2 API), but will probably add this some time in the foreseeable
future.

For those who are interested, I have an initial port of Horus/ML over the
socket library up and running.

Robbert






                 reply	other threads:[~1996-06-07 17:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2.2.32.19960607174959.0090c574@popsrv.cs.cornell.edu \
    --to=rvr@cs.cornell.edu \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox