TcpListener
TcpListener(Int32)
TcpListener(IPEndPoint)
TcpListener(IPAddress, Int32)
~TcpListener()
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()
AcceptSocketAsync(TcpListener)
AcceptSocketAsync(TcpListener)
AcceptTcpClientAsync(TcpListener)
AcceptTcpClientAsync(TcpListener)
net481
namespace
{
public static class AsyncCompatLibExtensions
{
public static Task<TcpClient> AcceptTcpClientAsync(this TcpListener source);
}
}
| .NET Framework | 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
|---|---|
Information specific to net481 | |
| Assembly | Microsoft.CompilerServices.AsyncTargetingPack.Net4 , Version=1.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CompilerServices.AsyncTargetingPack (1.0.1) net40 |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API