This commit is contained in:
Luke Pulverenti
2017-03-03 00:53:21 -05:00
parent b9c12ca4a7
commit 7cbc76af27
10 changed files with 96 additions and 82 deletions

View File

@@ -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