Supercell.GUT/Supercell.GUT.Server/Network/Options/GatewayOptions.cs

11 lines
268 B
C#
Raw Normal View History

using System.Net;
namespace Supercell.GUT.Server.Network.Options;
internal class GatewayOptions
{
public required string Host { get; set; }
public required int Port { get; set; }
public IPEndPoint ListenEndPoint => new(IPAddress.Parse(Host), Port);
}