TcpListener
TcpListener(Int32)
TcpListener(IPEndPoint)
TcpListener(IPAddress, Int32)
Active
ExclusiveAddressUse
LocalEndpoint
Server
AcceptSocket()
AcceptSocketAsync()
AcceptSocketAsync(CancellationToken)
AcceptTcpClient()
AcceptTcpClientAsync()
AcceptTcpClientAsync(CancellationToken)
AllowNatTraversal(Boolean)
BeginAcceptSocket(AsyncCallback, Object)
BeginAcceptTcpClient(AsyncCallback, Object)
Create(Int32)
Dispose()
EndAcceptSocket(IAsyncResult)
EndAcceptTcpClient(IAsyncResult)
Pending()
Start()
Start(Int32)
Stop()
net10.0
namespace System.Net.Sockets
{
public class TcpListener : IDisposable
{
public Task<TcpClient!>! AcceptTcpClientAsync();
}
}
| nuget.org | 0.2 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
| .NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | System.Net.Sockets , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is supported on any platform except for these:
|
- Built-in API
- Package-provided API