public static void send(TcpClient tcpClient, Packet packet) { Stream stream = tcpClient.GetStream(); packet.write (stream); }