UvTcpHandle Class¶
- Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking- Assemblies
- Microsoft.AspNetCore.Server.Kestrel
Inheritance Hierarchy¶
System.ObjectSystem.Runtime.ConstrainedExecution.CriticalFinalizerObjectSystem.Runtime.InteropServices.SafeHandleMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvMemoryMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvHandleMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvStreamHandleMicrosoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle
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.IPEndPointfor 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)
-