On Mar 17, 2008, at 18:10 , Michael Stone wrote: > Bert, > > It's still in early prototyping so there's substantial flexibility to > adapt it to do what we need. > > At present, sys_disablenetwork() disables calls to socket(), > connect(), > bind(), and sendmsg() for address families other than AF_UNIX. (I.e. > all > unix sockets should still work and everything else should return > EACCES). > > I'm _think_ I could get it to allow AF_INET and AF_INET6 connections > to > localhost without much trouble if this would be valuable to folks. > (As I > understand, the primary use case is to write local networking code > that > will function identically on both Windows and *nix).
Well, it makes porting older code a lot simpler. And writing cross- platform code, too, indeed. - Bert - _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel