internal void Send(Packet packet, NetworkInterfaceType networkInterface) { if (networkInterface == NetworkInterfaceType.TCP) { client.Send(packet.Data.ToArray()); } else { directClient.Send(packet.Data.ToArray()); } }