[rust-dev] TCP Library Selection

Patrick Walton pwalton at mozilla.com
Mon Dec 10 21:05:34 PST 2012


On 12/10/12 8:10 PM, Abhijeet Gaiha wrote:
> Hi,
>
> Looks like there are three different libraries for TCP socket functionality:
> Net_tcp
> Uv_ll
> Net::tcp
>
> Could someone enlighten me as to which one is the recommended library to
> use?
> Thanks very much!

net_tcp is an alias of net::tcp. Either one is recommended.

uv_ll is for direct, unsafe interaction with the libuv event loop. 
net_tcp is built on top of it internally. It's not recommended for 
ordinary use.

Patrick



More information about the Rust-dev mailing list