Mono Class Library: System.Net.Sockets.Socket Overview | MembersSystem.Net.Sockets.Socket.Send Method |
Sends data to a connected socket. [Edit]
|
A int containing the number of bytes sent. [Edit]
Type Reason ArgumentNullException buffer is null. [Edit] ArgumentOutOfRangeException size < 0.
-or-
size > buffer.Length.
[Edit]InvalidOperationException An asynchronous call is pending and a blocking method has been called. [Edit] System.Net.Sockets.SocketException socketFlags is not a valid combination of values.
-or-
An error occurred while accessing the socket.
Note: For additional information on causes of the SocketException, see the System.Net.Sockets.SocketException class.[Edit]ObjectDisposedException The current instance has been disposed. [Edit]
This method is equivalent to Socket.Send(Byte[], int, SocketFlags)(buffer, 0, size, socketFlags). [Edit]
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0