[Nickle]Re: networking committed

Barton C Massey bart@cs.pdx.edu
Sat, 28 Jul 2001 19:40:16 -0700


Nice work!  We'll probably adjust the interface a little bit
shortly, so no one build any giant packages around this
stuff in the next few minutes :-)

		Bart Massey
		bart@cs.pdx.edu

In message <E15QeYX-0001By-00@dor.sharpone.dyndns.org> Jamey wrote:
> Hi, all...
> 
> I've committed a basic set of networking builtins to the Nickle CVS
> repository. Testing, suggestions, and complaints are appreciated.
> 
> The basic BSD sockets stuff is in there:
> file function Sockets::create (Sockets::{SOCK_STREAM,SOCK_DGRAM});
> void function Sockets::connect (file s, String host, String port);
> void function Sockets::bind (file s, String host, String port);
> void function Sockets::listen (file s, int backlog);
> file function Sockets::accept (file s);
> void function Sockets::shutdown (file s, Sockets::{SHUT_RD,SHUT_WR,SHUT_RDWR});
> 
> Also included are
> Sockets::{INADDR_ANY,INADDR_LOOPBACK,INADDR_BROADCAST}, suitable for
> use as the second parameter to connect or bind.
> 
> Don't expect useful error messages yet. I don't actually know what I'm
> doing. :P