Struct bind_before_connect::TcpSocket
[−]
[src]
pub struct TcpSocket(_);
Methods
impl TcpSocket
[src]
fn new(ipv: IP) -> Result<TcpSocket>
unsafe fn setsockopt(
&self,
level: c_int,
name: c_int,
value: *const c_void,
option_len: socklen_t
) -> Result<c_int>
&self,
level: c_int,
name: c_int,
value: *const c_void,
option_len: socklen_t
) -> Result<c_int>