UvTcpHandle Class

Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking
Assemblies
  • Microsoft.AspNetCore.Server.Kestrel

Syntax

public class UvTcpHandle : UvStreamHandle, IDisposable
class Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle

Constructors

UvTcpHandle(Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.IKestrelTrace)
public UvTcpHandle(IKestrelTrace logger)

Methods

Bind(Microsoft.AspNetCore.Server.Kestrel.ServerAddress)
public void Bind(ServerAddress address)
CreateIPEndpoint(Microsoft.AspNetCore.Server.Kestrel.ServerAddress)

Returns an System.Net.IPEndPoint for the given host an port. If the host parameter isn’t “localhost” or an IP address, use IPAddress.Any.

Return type:System.Net.IPEndPoint
public static IPEndPoint CreateIPEndpoint(ServerAddress address)
GetPeerIPEndPoint()
Return type:System.Net.IPEndPoint
public IPEndPoint GetPeerIPEndPoint()
GetSockIPEndPoint()
Return type:System.Net.IPEndPoint
public IPEndPoint GetSockIPEndPoint()
Init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle, System.Action<System.Action<System.IntPtr>, System.IntPtr>)
public void Init(UvLoopHandle loop, Action<Action<IntPtr>, IntPtr> queueCloseHandle)
NoDelay(System.Boolean)
public void NoDelay(bool enable)
Open(System.IntPtr)
public void Open(IntPtr hSocket)