public static void SendWelcomeMessage(int fromID) { ByteBuffer buffer = new ByteBuffer(); buffer.WriteInteger((int)ServerPackets.SWelcomeMessage); buffer.WriteString($"{((IPEndPoint)Server.clients[fromID].socket.Client.RemoteEndPoint).Address.ToString()} joined the server!"); SendData(Server.GetClientsID(new int[] { fromID }), buffer.ToArray()); buffer.Dispose(); }