Module rustix::net::send_recv

source ·
Expand description

recv, send, and variants.

Re-exports§

Modules§

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.