Searched refs:sin_addr (Results 1 – 2 of 2) sorted by relevance
38 server_sockaddr.sin_addr.s_addr = htonl(INADDR_ANY); in tcp_server()102 server_sockaddr.sin_addr.s_addr = htonl(INADDR_ANY); in udp_server()146 server_addr.sin_addr.s_addr = inet_addr("192.168.199.129"); in tcp_client()210 addr.sin_addr.s_addr = inet_addr("192.168.199.129"); in udp_client()
621 pub sin_addr: u32, field694 &u32::from_be(addr_in.sin_addr).to_be_bytes()[..], in to_endpoint()788 sin_addr: u32::from_be_bytes(ipv4_addr.0).to_be(), in from()