[Bigloo-lib-devel] announce: raw socket interface introduced
Status: Beta
Brought to you by:
wowa
|
From: Vladimir T. <wo...@je...> - 2002-08-07 07:44:01
|
Hi,
I've just added the (EXPERIMENTAL AND INCOMPLETE!) common/socket.defs
to CVS. It has the followig bindings:
(socket::int #!optional domain type protocol)
(connect sockfd::int hostname::string port::int)
(send sock::int data::bstring #!optional flags)
(accept::int sockfd::int)
(bind sockfd::int port::int)
(recv::bstring sock::int n::int #!optional flags)
(getsockopt sock::int which)
(setsockopt sock::int . options)
(listen fd::int #!optional n))
(shutdown fd::int #!optional how)
(dup::int fd::int)
(fdopen::file fildes::int mode::string)
(The latest two bindings should eventually go to common/os.defs)
To switch the compilation of this module on, you should use
--with-socket option when executing the ./configure script.
Regards,
Vladimir Tsichevski
-----------------------------------------------------
Any opinions or recommendations herein are those of
the author and not of his computer.
|