1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Unix domain sockets for Windows

#![cfg_attr(test, deny(warnings))]

#[cfg(windows)]
extern crate winapi;

#[cfg(windows)]
extern crate ws2_32;

#[cfg(windows)]
extern crate kernel32;

#[cfg(windows)]
mod stdnet;

#[cfg(windows)]
pub use stdnet::{
    AcceptAddrs, AcceptAddrsBuf, SocketAddr, UnixListener, UnixListenerExt,
    UnixStream, UnixStreamExt, from_path
};