Ejemplo n.º 1
0
 protected virtual void OnReceivingObject(ReceiveArgs e)
 {
     ReceivingObject?.Invoke(this, e);
 }
Ejemplo n.º 2
0
 private void ServerClient_ReceivingObject(object sender, ReceiveArgs e)
 {
     Program.MyServer.SendData(e.Data, Program.MyServer.Clients.GetSocket(((IPacket)Function.Deserialize(new MessageTCP(e.Data))).SenderUID));
 }