Writes data from a specific area of a data buffer to the current instance.
Type Reason ArgumentNullException buffer is null. ArgumentOutOfRangeException offset < 0.
-or-
offset > buffer.Length.
-or-
size < 0.
-or-
size > buffer.Length - offset.
System.IO.IOException Note: This method catches all exceptions thrown by the Socket.Send(Byte[], int, SocketFlags) method.ObjectDisposedException The current instance has been disposed.
When no buffer space is available within the underlying protocol, this method blocks unless the socket is in non-blocking mode.
Note:This method overrides System.IO.Stream.Write(Byte[], int, int).
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0