There's a very basic POSIX socket binding at https://github.com/jdm/rust-socket. It's been neglected for a bit, I would quickly merge a PR to update it to 0.6.
Cheers, Josh On 8 April 2013 02:14, Andres Osinski <[email protected]> wrote: > Are the libUV bindings for the socket API the default canonical way in > Rust for managing socket communications, or will there be a future > implementation or binding to the standard POSIX socket library? > > > On Sat, Apr 6, 2013 at 1:50 PM, Thad Guidry <[email protected]> wrote: > >> oops, that should have been the "handler portion" of Cherokee FastCGI ... >> https://github.com/cherokee/webserver/blob/master/cherokee/handler_fcgi.c >> >> more docs here: >> http://www.cherokee-project.com/doc/modules_handlers_fcgi.html >> >> >> On Sat, Apr 6, 2013 at 11:45 AM, Thad Guidry <[email protected]>wrote: >> >>> Perhaps the Cherokee webserver might be useful for you to look at it's >>> codebase... and it's implementation of fastcgi.h >>> >>> https://github.com/cherokee/webserver/tree/master/cherokee >>> >>> >>> On Fri, Apr 5, 2013 at 9:13 PM, Andres Osinski <[email protected] >>> > wrote: >>> >>>> Hi everyone, I've taken an interest in Rust as it fills a niche in >>>> programming that I've long been looking to fullfill. >>>> >>>> I'm primarily a Python web developer, so I wanted to start coding by >>>> implementing the FastCGI protocol for Rust. I know that its native task >>>> management and socket capabilities are very good, but you never know when >>>> it might be handy for someone. >>>> >>>> I just wanted to know if anyone was familiar with the FCGI protocol, >>>> and if there's any reference as to how to manage the packing and unpacking >>>> of C data structures, as well as if you know of any implementation for a >>>> similar protocol. >>>> >>>> One small question that I have is that FCGI protocol defines a struct >>>> with two char arrays whose length is defined by another field within the >>>> struct, and I was wondering how that would be modeled in Rust. >>>> >>>> Thanks >>>> >>>> -- >>>> Andrés Osinski >>>> >>>> _______________________________________________ >>>> Rust-dev mailing list >>>> [email protected] >>>> https://mail.mozilla.org/listinfo/rust-dev >>>> >>>> >>> >>> >>> -- >>> -Thad >>> http://www.freebase.com/view/en/thad_guidry >>> >> >> >> >> -- >> -Thad >> http://www.freebase.com/view/en/thad_guidry >> > > > > -- > Andrés Osinski > http://www.andresosinski.com.ar/ > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
