Sends a data buffer to a connected socket.
[Visual Basic] Overloads Public Function Send( _ ByVal buffer As Array, _ ByVal size As Integer, _ ByVal flags As Integer _ ) As Integer [C#] public int Send( Array buffer, int size, int flags ); [C++] public: int Send( Array* buffer, int size, int flags ); [JScript] public function Send( buffer : Array, size : int, flags : int ) : int;
If successful, the number of bytes sent to the socket; otherwise, an invalid socket error is returned.
Exception Type | Condition |
---|---|
InvalidOperationException | [To be supplied.] |
Socket Class | Socket Members | System.Net.Sockets Namespace | Socket.Send Overload List