Click or drag to resize
SocketHelperReceive Method (Socket, Int32)
读取指定字节数

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

Parameters

socket
Type: System.Net.SocketsSocket

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

readSize
Type: SystemInt32

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

Return Value

Type: Byte

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

Exceptions
ExceptionCondition
SocketExceptionerrorCode= SocketError.Shutdown
See Also