mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 00:55:13 +01:00
3.2.5.4
This commit is contained in:
@@ -47,6 +47,13 @@ namespace Emby.Common.Implementations.Net
|
||||
}
|
||||
}
|
||||
|
||||
public void Connect(IpEndPointInfo endPoint)
|
||||
{
|
||||
var nativeEndpoint = NetworkManager.ToIPEndPoint(endPoint);
|
||||
|
||||
Socket.Connect(nativeEndpoint);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
#if NET46
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Emby.Common.Implementations.Net
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public IAcceptSocket CreateAcceptSocket(IpAddressFamily family, MediaBrowser.Model.Net.SocketType socketType, MediaBrowser.Model.Net.ProtocolType protocolType, bool dualMode)
|
||||
public IAcceptSocket CreateSocket(IpAddressFamily family, MediaBrowser.Model.Net.SocketType socketType, MediaBrowser.Model.Net.ProtocolType protocolType, bool dualMode)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user