Networking TS

PrevUpHomeNext

ip::tcp

Encapsulates the flags needed for TCP.

class tcp
Types

Name

Description

acceptor

The TCP acceptor type.

endpoint

The type of a TCP endpoint.

iostream

The TCP iostream type.

no_delay

Socket option for disabling the Nagle algorithm.

resolver

The TCP resolver type.

socket

The TCP socket type.

Member Functions

Name

Description

family

Obtain an identifier for the protocol family.

protocol

Obtain an identifier for the protocol.

type

Obtain an identifier for the type of the protocol.

v4

Construct to represent the IPv4 TCP protocol.

v6

Construct to represent the IPv6 TCP protocol.

Friends

Name

Description

operator!=

Compare two protocols for inequality.

operator==

Compare two protocols for equality.

The ip::tcp class contains flags necessary for TCP sockets.

Thread Safety

Distinct objects: Safe.

Shared objects: Safe.


PrevUpHomeNext