TCPSocket(3)
π TCPSocket π
okay bestie, listen up β this is a page from the MPQC manual, section 3 (that's the library-functions girly pop section, iykyk β¨). It's giving very "I was auto-generated but make it fashion" and honestly? We're obsessed. Let's get into it π
β¨ NAME β¨
TCPSocket β that's the name, that's the whole vibe. She's a socket. She does TCP. Periodt. π
πΈ SYNOPSIS πΈ
She's inherited by TCPIOSocket, and TCPServerSocket. So likeβ¦ she's the mom of the socket family. Main character energy fr fr π
π¦ Public Member Functions π¦
These are the things she can do, bestie β the whole roster, no cap:
void create ()
void bind (u_int16_t port_begin, u_int16_t port_fence)
int port ()
u_int32_t addr ()
bool initialized ()
bool bound ()
virtual void close ()
Like okay, look at her. create(), bind() with two u_int16_t args named port_begin and port_fence, then port() handing back an int, addr() handing back a u_int32_t, and two little vibe-check booleans initialized() and bound() so you always know where you stand. And close()? She's virtual, so she can be overridden β generational talent, honestly π
π§ Protected Attributes π§
These are the protected ones β inner circle only, you don't get to touch unless you're family π
int socket_β yes with the lil underscore, she's private like thatint port_β again, underscore. Consistent queen πbool initialized_β is she initialized? the people wanna knowbool bound_β is she bound? enquiring minds
lowkey important: these are protected, meaning they're not for just anyone to poke at. Respect the boundaries, bestie π
π Author π
Generated automatically by Doxygen for MPQC from the source code. So technically the author is a robot and the robot ate. No notes π₯
Anyway that's the whole page, angel. Every function, every attribute, every underscore β preserved. Nothing skipped, nothing invented, we just made it cute π
Version 2.3.1 πΈ, dated Sun Oct 4 2020 π β and that's the tea, from the MPQC girls to you. Stay socketed, stay slaying, mwah πβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms