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

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

Parameters

socket
Type: System.Net.SocketsSocket

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

readSize
Type: SystemInt32

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

bufferSize
Type: SystemInt32

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

Return Value

Type: MemoryStream

[Missing <returns> documentation for "M:Adf.SocketHelper.Receive(System.Net.Sockets.Socket,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
SocketExceptionerrorCode= SocketError.Shutdown
See Also