NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Socket.Send (Array, Int32, Int32, Int32)

Sends data to a connected socket, starting at the indicated location in the data.

[Visual Basic]
Overloads Public Function Send( _
   ByVal buffer As Array, _
   ByVal index As Integer, _
   ByVal size As Integer, _
   ByVal flags As Integer _
) As Integer
[C#]
public int Send(
   Array buffer,
   int index,
   int size,
   int flags
);
[C++]
public: int Send(
   Array* buffer,
   int index,
   int size,
   int flags
);
[JScript]
public function Send(
   buffer : Array,
   index : int,
   size : int,
   flags : int
) : int;

Parameters

buffer
The data to be sent.
index
[To be supplied.]
size
[To be supplied.]
flags
Message send flags.

Return Value

If successful, the number of bytes sent to the socket; otherwise, an invalid socket error is returned.

Exceptions

Exception Type Condition
InvalidOperationException [To be supplied.]

See Also

Socket Class | Socket Members | System.Net.Sockets Namespace | Socket.Send Overload List