protected override void OnRead(byte[] bytes) { if (bytes != null && ReadClient != null) { ReadClient.Invoke(bytes, id); } }
void connection_ReadClient(byte[] data, int id) { if (ReadClient != null) { ReadClient.Invoke(data, id); } }