TCPClient Constructors

Definition

Overloads

TCPClient(IPEndPoint)

Creates a new TCPClient instance

TCPClient(IPEndPoint, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint, Int32, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint, Int32, Int32, Int32, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint)

Creates a new TCPClient instance

public TCPClient (System.Net.IPEndPoint endPoint);

Parameters

endPoint
IPEndPoint

The IPEndPoint to connect to

Applies to

TCPClient(IPEndPoint, Int32)

Creates a new TCPClient instance

public TCPClient (System.Net.IPEndPoint endPoint, int connectionTimeout);

Parameters

endPoint
IPEndPoint

The IPEndPoint to connect to

connectionTimeout
Int32

The timeout time for connection

Applies to

TCPClient(IPEndPoint, Int32, Int32)

Creates a new TCPClient instance

public TCPClient (System.Net.IPEndPoint endPoint, int receiveTimeout, int sendTimeout);

Parameters

endPoint
IPEndPoint

The IPEndPoint to connect to

receiveTimeout
Int32

The receive timeout

sendTimeout
Int32

The send timeout

Applies to

TCPClient(IPEndPoint, Int32, Int32, Int32, Int32)

Creates a new TCPClient instance

public TCPClient (System.Net.IPEndPoint endPoint, int bufferSize = 8000, int connectionTimeout = 7000, int receiveTimeout = 600000, int sendTimeout = 600000);

Parameters

endPoint
IPEndPoint

The IPEndPoint to connect to

bufferSize
Int32

The size of the buffers

connectionTimeout
Int32

The timeout time for connection

receiveTimeout
Int32

The receive timeout

sendTimeout
Int32

The send timeout

Applies to