TCPClientConnection(3)

πŸ“¦ version 2.3.1, in fedora 43, fedora 44

πŸ’– TCPClientConnection πŸ’–

okay bestie, welcome to the TCPClientConnection(3) page β€” yes it's a section 3 manual page, yes it's from the Library Functions Manual, and yes it's about to be your new fave networking class 🫢


✨ NAME ✨

TCPClientConnection β€” that's the whole name, no notes, it's giving main character πŸ’…


🌸 SYNOPSIS 🌸

Inherits TCPIOSocket. So it's lowkey part of the family tree, and it's got the genes to prove it 🧬

πŸ’œ Public Member Functions

  • void close ()
  • bool connected ()
  • void connect (const char *remote_hostname, u_int16_t remote_port)
  • void connect (u_int32_t remote_host, u_int16_t remote_port)

πŸ¦‹ Public Member Functions inherited from TCPIOSocket

like these are the heirlooms, passed down, iconic:

  • int read (void *d, int n)
  • int write (const void *d, int n)
  • int read_int (int *d, int n)
  • int write_int (const int *d, int n)
  • int read_string (std::string &)
  • int write_string (const std::string &)
  • int read_int (int &)
  • int write_int (int)
  • int read_uint32 (u_int32_t &)
  • int write_uint32 (u_int32_t)

🌈 Public Member Functions inherited from TCPSocket

the og ancestors, we stan:

  • void create ()
  • void bind (u_int16_t port_begin, u_int16_t port_fence)
  • int port ()
  • u_int32_t addr ()
  • bool initialized ()
  • bool bound ()

⭐ Additional Inherited Members

πŸŽ€ Protected Attributes inherited from TCPSocket

  • int socket_
  • int port_
  • bool initialized_
  • bool bound_

πŸ”₯ Member Function Documentation πŸ”₯

void TCPClientConnection::close () [virtual]

Reimplemented from TCPSocket. so yeah, it's doing its own little version of close(), the way that it overrides the parent is honestly kind of a serve πŸ‘‘


πŸ’€ Author πŸ’€

Generated automatically by Doxygen for MPQC from the source code. not me being a robot-authored legend, no cap πŸ€–βœ¨


okay that's the whole page, bestie, you ate that reading session fr fr πŸ’– and for the cute sign-off: this iconic lil doc is from MPQC, Version 2.3.1, and it lives at TCPClientConnection(3). periodt πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from