svc_tcp_sendto(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ svc_tcp_sendto(9) β€” send out a reply on a TCP socket

okay so welcome to the Kernel API Manual, bestie πŸ’–. This page is literally about svc_tcp_sendto, and it's giving β€œput the reply on the TCP socket” main character energy. no cap.

🌸 NAME

svc_tcp_sendto β€” Send out a reply on a TCP socket ✨

πŸ¦‹ SYNOPSIS

int svc_tcp_sendto (struct svc_rqst *rqstp );

πŸŽ€ ARGUMENTS

  • rqstp β€” a completed svc_rqst πŸ‘‘. Like, the reply is all finished and ready for its little socket moment.

πŸ’– DESCRIPTION

xpt_mutex is the lock bestie that makes sure rqstp's whole message gets written to the socket without interruption 🫢. The entire message, in one go, no chaotic cut-off vibes. slay.

It returns the number of bytes sent, or a negative errno 😭. So: byte count on one side, negative errno on the other β€” don't confuse the two, bestie. periodt.

πŸ”₯ SEE ALSO


and that's the vibe check βœ… β€” this page is from ./net/sunrpc and dated October 2026, so you know exactly where and when it's serving from. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from