Struct std::net::UdpSocket

struct UdpSocket { ... }

A UDP socket

Example

This example sends a DNS query to CloudFlare's DNS server and prints the response metadata.

Fields

Methods

impl UdpSocket { ... }