---
name: "Net::Server::Proto::TCP"
section: "3pm"
platform: "linux"
package: "perl-net-server"
version: "2.018-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Net::Server::Proto::TCP"
---

# Net::Server::Proto::TCP(3pm)

## NAME

```
  Net::Server::Proto::TCP - Net::Server TCP protocol.
```

## SYNOPSIS

See Net::Server::Proto.

## DESCRIPTION

Protocol module for Net::Server.  This module implements the SOCK\_STREAM socket type under INET (also known as TCP). See Net::Server::Proto.

## PARAMETERS

There are no additional parameters that can be specified. See Net::Server for more information on reading arguments.

## INTERNAL METHODS

- "object"

  Returns an object with parameters suitable for eventual creation of a IO::Socket::INET object listening on UDP.

- "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 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
