Connect Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Net.Sockets Namespace
TcpClient Class
TcpClient Methods
Connect Method
Connect Method (IPEndPoint)
Connect Method (IPAddress, Int ...
Connect Method (IPAddress[], I ...
Connect Method (String, Int32)
TcpClient Methods
BeginConnect Method
Close Method
Connect Method
Dispose Method
EndConnect Method
Finalize Method
GetStream Method
IDisposable.Dispose Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
TcpClient
.
.
::
.
Connect Method
Connects the client to a remote TCP host using the specified host name and port number.
Overload List
Name
Description
Connect(IPEndPoint)
Connects the client to a remote TCP host using the specified remote network endpoint.
Connect(IPAddress, Int32)
Connects the client to a remote TCP host using the specified IP address and port number.
Connect(
array<
IPAddress
>
[]
()
[]
, Int32)
Connects the client to a remote TCP host using the specified IP addresses and port number.
Connect(String, Int32)
Connects the client to the specified port on the specified host.
Top
See Also
Reference
TcpClient Class
TcpClient Members
System.Net.Sockets Namespace
Tags :