System::Net::Sockets::TcpClient::TcpClient constructor

TcpClient::TcpClient() constructor

Constructs a new instance.

System::Net::Sockets::TcpClient::TcpClient()

See Also

TcpClient::TcpClient(AddressFamily) constructor

Constructs a new instance.

System::Net::Sockets::TcpClient::TcpClient(AddressFamily family)
ParameterTypeDescription
familyAddressFamilyAn address family.

See Also

TcpClient::TcpClient(String, int32_t) constructor

Constructs a new instance.

System::Net::Sockets::TcpClient::TcpClient(String hostname, int32_t port)
ParameterTypeDescription
hostnameStringA remote host name to connect.
portint32_tA port of the remote host to connect.

See Also

TcpClient::TcpClient(System::SharedPtr<IPEndPoint>) constructor

Constructs a new instance.

System::Net::Sockets::TcpClient::TcpClient(System::SharedPtr<IPEndPoint> localEP)
ParameterTypeDescription
localEPSystem::SharedPtr<IPEndPoint>The endpoint to which the socket is bound.

See Also