.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Net.Sockets
  3. TcpClient
  4. ConnectAsync(IPEndPoint)
  • TcpClient
    • TcpClient()
    • TcpClient(AddressFamily)
    • TcpClient(IPEndPoint)
    • TcpClient(String, Int32)
    • ~TcpClient()
    • Active
    • Available
    • Client
    • Connected
    • ExclusiveAddressUse
    • LingerState
    • NoDelay
    • ReceiveBufferSize
    • ReceiveTimeout
    • SendBufferSize
    • SendTimeout
    • BeginConnect(IPAddress, Int32, AsyncCallback, Object)
    • BeginConnect(IPAddress[], Int32, AsyncCallback, Object)
    • BeginConnect(String, Int32, AsyncCallback, Object)
    • Close()
    • Connect(IPEndPoint)
    • Connect(IPAddress, Int32)
    • Connect(IPAddress[], Int32)
    • Connect(String, Int32)
    • ConnectAsync(IPEndPoint)
    • ConnectAsync(IPAddress, Int32)
    • ConnectAsync(IPAddress[], Int32)
    • ConnectAsync(IPEndPoint, CancellationToken)
    • ConnectAsync(String, Int32)
    • ConnectAsync(IPAddress, Int32, CancellationToken)
    • ConnectAsync(IPAddress[], Int32, CancellationToken)
    • ConnectAsync(String, Int32, CancellationToken)
    • Dispose()
    • Dispose(Boolean)
    • EndConnect(IAsyncResult)
    • GetStream()
net9.0
namespace System.Net.Sockets
{
    public class TcpClient : IDisposable
    {
        public Task! ConnectAsync(IPEndPoint! remoteEP);
    }
}
nuget.org
0.0 %
Reference this API
Design Reviews
  • dotnet/runtime#43111 4 years ago (Approved)
.NET 6.07.08.09.0
Information specific to net9.0
Assembly

System.Net.Sockets , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on any platform except for these:

  • Browser
  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙