mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-04 06:04:25 -04:00
fix merge conflicts
This commit is contained in:
parent
0535f663b6
commit
66e901ef93
@ -70,7 +70,11 @@ namespace Emby.Common.Implementations.Net
|
|||||||
{
|
{
|
||||||
if (remotePort < 0) throw new ArgumentException("remotePort cannot be less than zero.", "remotePort");
|
if (remotePort < 0) throw new ArgumentException("remotePort cannot be less than zero.", "remotePort");
|
||||||
|
|
||||||
var retVal = new Socket(AddressFamily.InterNetwork, System.Net.Sockets.SocketType.Stream, System.Net.Sockets.ProtocolType.Tcp);
|
var addressFamily = remoteAddress.AddressFamily == IpAddressFamily.InterNetwork
|
||||||
|
? AddressFamily.InterNetwork
|
||||||
|
: AddressFamily.InterNetworkV6;
|
||||||
|
|
||||||
|
var retVal = new Socket(addressFamily, System.Net.Sockets.SocketType.Stream, System.Net.Sockets.ProtocolType.Tcp);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -80,7 +84,7 @@ namespace Emby.Common.Implementations.Net
|
|||||||
{
|
{
|
||||||
// This is not supported on all operating systems (qnap)
|
// This is not supported on all operating systems (qnap)
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return new UdpSocket(retVal, new IpEndPointInfo(remoteAddress, remotePort));
|
return new UdpSocket(retVal, new IpEndPointInfo(remoteAddress, remotePort));
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.2.10")]
|
[assembly: AssemblyVersion("3.2.10.7")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user