11 lines
261 B
C#
11 lines
261 B
C#
|
using System.Net;
|
|||
|
|
|||
|
namespace RPG.Services.Gateserver.Options;
|
|||
|
internal class GatewayOptions
|
|||
|
{
|
|||
|
public required string Host { get; set; }
|
|||
|
public required int Port { get; set; }
|
|||
|
|
|||
|
public IPEndPoint BindEndPoint => new(IPAddress.Parse(Host), Port);
|
|||
|
}
|