Expand description
recv
, send
, and variants.
Re-exports§
pub use backend::net::send_recv::RecvFlags;
pub use backend::net::send_recv::SendFlags;
pub use msg::*;
Modules§
- msg 🔒
Functions§
- _sendto 🔒
recv(fd, buf, flags)
—Reads data from a socket.recv(fd, buf, flags)
—Reads data from a socket.recvfrom(fd, buf, flags, addr, len)
—Reads data from a socket and returns the sender address.recvfrom(fd, buf, flags, addr, len)
—Reads data from a socket and returns the sender address.send(fd, buf, flags)
—Writes data to a socket.sendto(fd, buf, flags, addr)
—Writes data to a socket to a specific IP address.sendto(fd, buf, flags, addr)
—Writes data to a socket to a specific address.sendto(fd, buf, flags, addr, sizeof(struct sockaddr_un))
—Writes data to a socket to a specific Unix-domain socket address.sendto(fd, buf, flags, addr, sizeof(struct sockaddr_in))
—Writes data to a socket to a specific IPv4 address.sendto(fd, buf, flags, addr, sizeof(struct sockaddr_in6))
—Writes data to a socket to a specific IPv6 address.sendto(fd, buf, flags, addr, sizeof(struct sockaddr_xdp))
—Writes data to a socket to a specific XDP address.