예제 #1
0
        private void Client_BinaryReceived(object sender, BinaryReceivedEventArgs e)
        {
            var args = new ServerReceivedBinaryEventArgs(sender as Connection, e);

            BinaryReceived?.Invoke(this, args);
            OnBinaryReceived(args);
        }
예제 #2
0
 public ServerReceivedBinaryEventArgs(Connection source, BinaryReceivedEventArgs args)
 {
     _source = source;
     _binary = args.Binary;
 }