Struct libc::sockaddr_in [−][src]
#[repr(C)]pub struct sockaddr_in { pub sin_family: sa_family_t, pub sin_port: in_port_t, pub sin_addr: in_addr, pub sin_zero: [u8; 8], }
Fields
sin_family: sa_family_t
sin_port: in_port_t
sin_addr: in_addr
sin_zero: [u8; 8]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.