RpcWriter(3I)
π RpcWriter(3I) β InterViews Reference Manual π
okay bestie, gather round, we're talking about RpcWriter from the InterViews manual (section 3I, iykyk) π«Ά
β¨ NAME β¨
RpcWriter β the girl who writes RPC requests to a server π
πΈ SYNOPSIS πΈ
#include <Dispatch/rpcwriter.h>
π¦ DESCRIPTION π¦
So an RpcWriter β and lowkey this is actually an instance of a class derived from RpcWriter, keep up β writes RPC requests to a server. that's her whole job. that's the gig. π
And like, if you're making a derived class, the move is to add member functions that send RPC requests matching your RPC service's protocol. that's the assignment, bestie. no cap. β¨
π CONSTRUCTORS π
here's the lineup, all four of them, iconic behaviour:
RpcWriter(const char* path, boolean fatal, boolean binary)
RpcWriter(const char* host, int port, boolean fatal, boolean binary)
RpcWriter(int fd, boolean fatal, boolean binary)
RpcWriter(rpcstream* server)
- open a connection to an RPC service at its registered host name and port number β orrr give the host name and port number you need to open a connection to the RPC service, or give the number of an already-open file descriptor, or give the address of an already-open
rpcstream(that's a connection, bestie). Pick your fighter. π - negotiate the I/O format β binary or formatted, whichever, but only if you're opening a connection. if you're not opening one, no negotiating happening, periodt.
fatalβ terminate the program if errors should be fatal. that's the vibe check. it's giving dramatic but honestly valid. π
π SEE ALSO π
RpcHdr(3I)RpcRegistry(3I)rpcstream(3I)
go read those next, you'll be obsessed π§
mwah π that's the whole page. this one comes to you from the InterViews era, dated 27 March 1991 β yeah she's vintage, she's a classic, and she still ate. πβ¨
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms