Net::Se...oto::TCP(3)

πŸ’– NAME πŸ’–

okay bestie, welcome to Net::Server::Proto::TCP(3) β€” the User Contributed Perl Documentation page for the Net::Server TCP protocol module. The name is Net::Server::Proto::TCP, and its whole vibe is literally β€œNet::Server TCP protocol.” Slay. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

no cap, the synopsis is just a pointer:

See Net::Server::Proto.

🌸 DESCRIPTION 🌸

This is a protocol module for Net::Server. This module implements the SOCK_STREAM socket type under INET (also known as TCP). See Net::Server::Proto. That’s the description, periodt. 🫢

πŸŽ€ PARAMETERS πŸŽ€

There are no additional parameters that can be specified. See Net::Server for more information on reading arguments. Literally zero extra params, bestie β€” that’s the whole tea. πŸ“

🌈 INTERNAL METHODS 🌈

okay, these are the internal methods β€” the behind-the-scenes girlies 🧚. Let’s get into it:

  • object β€” Returns an object with parameters suitable for eventual creation of a IO::Socket::INET object listening on UDP. (Yes, the page says UDP right there, and we are keeping it exactly as written. πŸ‘€)
  • log_connect β€” Called before binding the socket to provide useful information to the logs.
  • connect β€” Called when actually binding the port. Handles default parameters before calling parent method.
  • reconnect β€” Called instead of the connect method during a server hup.
  • accept β€” Override of the parent class to make sure necessary parameters are passed down to client sockets.
  • poll_cb β€” Allow for psgi compatible interface during HTTP server.
  • read_until β€” Takes a regular expression, reads from the socket until the regular expression is matched.
  • hup_string β€” Returns a unique identifier that can be passed to the re-exec'ed process during HUP.
  • show β€” Basic dumper of properties stored in the glob.
  • AUTOLOAD β€” Handle accessor methods.

πŸ‘‘ LICENCE πŸ‘‘

Distributed under the same terms as Net::Server. That’s the whole licence, bestie β€” iconic and concise. πŸ’…


mwah πŸ’‹ β€” sign-off time: this page comes from perl v5.42.0, dated 2023-03-15, and it’s for Net::Server::Proto::TCP(3). Byeee, bestie 🫢✨

πŸ“¦ where this page comes from