You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -61,13 +61,13 @@ namespace System.Net.Sockets
|
||||
private set;
|
||||
}
|
||||
|
||||
IList <ArraySegment <byte>> _bufferList;
|
||||
internal IList<ArraySegment<byte>> m_BufferList;
|
||||
public IList<ArraySegment<byte>> BufferList {
|
||||
get { return _bufferList; }
|
||||
get { return m_BufferList; }
|
||||
set {
|
||||
if (Buffer != null && value != null)
|
||||
throw new ArgumentException ("Buffer and BufferList properties cannot both be non-null.");
|
||||
_bufferList = value;
|
||||
m_BufferList = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,12 +111,10 @@ namespace System.Net.Sockets
|
||||
set;
|
||||
}
|
||||
|
||||
#if !NET_2_1
|
||||
public TransmitFileOptions SendPacketsFlags {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
#endif
|
||||
|
||||
[MonoTODO ("unused property")]
|
||||
public int SendPacketsSendSize {
|
||||
@@ -236,5 +234,43 @@ namespace System.Net.Sockets
|
||||
|
||||
Buffer = buffer;
|
||||
}
|
||||
|
||||
internal void StartOperationCommon (Socket socket)
|
||||
{
|
||||
current_socket = socket;
|
||||
}
|
||||
|
||||
internal void StartOperationWrapperConnect (MultipleConnectAsync args)
|
||||
{
|
||||
SetLastOperation (SocketAsyncOperation.Connect);
|
||||
|
||||
//m_MultipleConnect = args;
|
||||
}
|
||||
|
||||
internal void FinishConnectByNameSyncFailure (Exception exception, int bytesTransferred, SocketFlags flags)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
internal void FinishOperationAsyncFailure (Exception exception, int bytesTransferred, SocketFlags flags)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
internal void FinishWrapperConnectSuccess (Socket connectSocket, int bytesTransferred, SocketFlags flags)
|
||||
{
|
||||
SetResults(SocketError.Success, bytesTransferred, flags);
|
||||
current_socket = connectSocket;
|
||||
|
||||
Complete ();
|
||||
OnCompleted (this);
|
||||
}
|
||||
|
||||
internal void SetResults (SocketError socketError, int bytesTransferred, SocketFlags flags)
|
||||
{
|
||||
SocketError = socketError;
|
||||
BytesTransferred = bytesTransferred;
|
||||
SocketFlags = flags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user