I've committed the beginnings of networking support, at least for the UNIX
side of the house. If people want to play with it, edit io/io_private.h
and set PARROT_NET_DEVEL to 1 before doing the remake. I didn't
want to turn it on by default because I only have Linux and Solaris
here.

Also I added in examples/io a sample that connects to a port reads
some data, etc.

This is meant more to be a "strawman to beat around for discussion" than
a "here is how networking is going to be integrated", but I sat on the fence long
enough trying to decide whether we should implement net stuff
via the native interface or directly into the IO core. I think it goes into
the core because we probably want it to work as seamless as the
rest of the IO types with the async code.


Anyway, its always easier to discuss when there is something to look at.

Have fun,

-Melvin




Reply via email to