Struct winapi::ws2def::SOCKADDR_IN [] [src]

pub struct SOCKADDR_IN {
    pub sin_family: ADDRESS_FAMILY,
    pub sin_port: USHORT,
    pub sin_addr: IN_ADDR,
    pub sin_zero: [CHAR; 8],
}

Fields

sin_family: ADDRESS_FAMILY sin_port: USHORT sin_addr: IN_ADDR sin_zero: [CHAR; 8]

Trait Implementations

impl Debug for SOCKADDR_IN
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for SOCKADDR_IN
[src]

impl Clone for SOCKADDR_IN
[src]

fn clone(&self) -> SOCKADDR_IN

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more