Example #1
0
 /// <summary>
 /// Broadcast to all connections
 /// </summary>
 /// <param name="chan"></param>
 /// <param name="con"></param>
 /// <param name="data"></param>
 /// <returns></returns>
 public abstract int Broadcast(TransportChannel chan, Span <byte> data);
Example #2
0
 /// <summary>
 /// Send data to a connection
 /// </summary>
 /// <param name="chan"></param>
 /// <param name="con"></param>
 /// <param name="data"></param>
 /// <returns></returns>
 public abstract int Send(TransportChannel chan, TransportConnection con, Span <byte> data);