Module send_recv

Source
Expand description

recv, send, and variants.

Re-exports§

pub use backend::net::send_recv::RecvFlags;
pub use backend::net::send_recv::ReturnFlags;
pub use backend::net::send_recv::SendFlags;
pub use msg::*;

Modules§

msg 🔒
recvmsg, sendmsg, and related functions.

Functions§

recv
recv(fd, buf, flags)—Reads data from a socket.
recvfrom
recvfrom(fd, buf, flags, addr, len)—Reads data from a socket and returns the sender address.
send
send(fd, buf, flags)—Writes data to a socket.
sendto
sendto(fd, buf, flags, addr)—Writes data to a socket to a specific IP address.