TCPIOSocket(3)
π NAME π
TCPIOSocket β okay so this one is from the MPQC manual, section 3, and she is literally just here to do socket I/O for you, no cap. Bestie, that's the whole name. That's it. Slay. π
β¨ SYNOPSIS β¨
Inherits TCPSocket.
Inherited by TCPClientConnection, and TCPServerConnection.
So the family tree is giving very much main character energy π β she inherits from TCPSocket, and then TCPClientConnection and TCPServerConnection both inherit from her. Iconic lineage honestly π
π«Ά Public Member Functions π«Ά
Ten of them. All of them. Every single one, periodt π
int read (void *d, int n)β the read that takes avoid *dand anint n, and hands you back anintπint write (const void *d, int n)β the matching write,const void *dplusint n,intcomes home πint read_int (int *d, int n)β read, but theint-flavoured one, with anint *dand anint nβ¨int write_int (const int *d, int n)β write, alsoint-flavoured,const int *dandint nthis time πΈint read_string (std::string &)β read a string, passed by reference asstd::string &πint write_string (const std::string &)β write a string,const std::string &, so she is not touching your string, respectfully πint read_int (int &)β yes bestie, anotherread_int, this one taking a singleint &. Overloaded. She contains multitudes πint write_int (int)β and anotherwrite_int, this one taking a plainint. The overloads are overload-ing πint read_uint32 (u_int32_t &)β read au_int32_t &, because 32 unsigned bits deserve their moment βint write_uint32 (u_int32_t)β write au_int32_t, by value, and she ate π₯
Not me noticing there are tworead_ints and twowrite_ints β different signatures, same name, so watch which one you're calling, iykyk π
π Additional Inherited Members π
The page lowkey just says Additional Inherited Members and then dips β like, there's a whole section for it, and the details are living over on the inherited side of the family. Go look at what she got from TCPSocket, bestie π¦
π AUTHOR π
Generated automatically by Doxygen for MPQC from the source code. So nobody hand-wrote this one β the robot did it, and honestly? It did that π«Ά
And that's the whole page, bestie!! πβ¨π This was Version 2.3.1, dated Sun Oct 4 2020 β go off, you absolute legend ππ πΈ
π¦ 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