mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-26 10:36:57 +01:00
update stream copying
This commit is contained in:
@@ -14,11 +14,16 @@ namespace Emby.Common.Implementations.Net
|
||||
// THIS IS A LINKED FILE - SHARED AMONGST MULTIPLE PLATFORMS
|
||||
// Be careful to check any changes compile and work for all platform projects it is shared in.
|
||||
|
||||
internal sealed class UdpSocket : DisposableManagedObjectBase, ISocket
|
||||
public sealed class UdpSocket : DisposableManagedObjectBase, ISocket
|
||||
{
|
||||
private Socket _Socket;
|
||||
private int _LocalPort;
|
||||
|
||||
public Socket Socket
|
||||
{
|
||||
get { return _Socket; }
|
||||
}
|
||||
|
||||
private readonly SocketAsyncEventArgs _receiveSocketAsyncEventArgs = new SocketAsyncEventArgs()
|
||||
{
|
||||
SocketFlags = SocketFlags.None
|
||||
|
||||
Reference in New Issue
Block a user