Sends binary data from the specified
Stream asynchronously to
every client in the WebSocket service.
Namespace:
WebSocketSharp.Server
Assembly:
C-DEngine (in C-DEngine.dll)
public void BroadcastAsync(
Stream stream,
int length,
Action completed
)
Public Sub BroadcastAsync ( _
stream As Stream, _
length As Integer, _
completed As Action _
)
public:
void BroadcastAsync(
Stream^ stream,
int^ length,
Action^ completed
)
Parameters
- stream
- Type: Stream
A Stream from which contains the binary data to send.
- length
- Type: Int32
An Int32 that represents the number of bytes to send.
- completed
- Type: Action
An [Action] delegate that references the method(s) called when
the send is complete.
This method doesn't wait for the send to be complete.