Sockets in Rust
There is also a bsd socket library in cargo, which you can install with:
$ cargo install socket
I haven't tried it out yet though. Or if you want to use zeromq, you could use my bindings. You'll need to be using rust's HEAD version though, as it's using code that was added after the rust 0.1 release. Feel free to ping me on irc.mozilla.org's #rust channel if you need any help. I'm erickt there.
The std::net exists for working with sockets.