Click or drag to resize
SocketHelperReceive Method (MemoryStream, Socket, Int32, Int32)
读取

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static void Receive(
	MemoryStream memoryStream,
	Socket socket,
	int readSize,
	int bufferSize
)

Parameters

memoryStream
Type: System.IOMemoryStream

[Missing <param name="memoryStream"/> documentation for "M:Adf.SocketHelper.Receive(System.IO.MemoryStream,System.Net.Sockets.Socket,System.Int32,System.Int32)"]

socket
Type: System.Net.SocketsSocket

[Missing <param name="socket"/> documentation for "M:Adf.SocketHelper.Receive(System.IO.MemoryStream,System.Net.Sockets.Socket,System.Int32,System.Int32)"]

readSize
Type: SystemInt32

[Missing <param name="readSize"/> documentation for "M:Adf.SocketHelper.Receive(System.IO.MemoryStream,System.Net.Sockets.Socket,System.Int32,System.Int32)"]

bufferSize
Type: SystemInt32

[Missing <param name="bufferSize"/> documentation for "M:Adf.SocketHelper.Receive(System.IO.MemoryStream,System.Net.Sockets.Socket,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
SocketExceptionerrorCode= SocketError.Shutdown
See Also