public void SetUp() { var settings = new PortMapperServerSettings { Logger = new TestLogger("Port Mapper"), Port = PortMapperPort }; this.server = new PortMapperServer(Protocol.TcpAndUdp, IPAddress.Any, settings); this.server.Start(); }
public void OneTimeSetUp() { var settings = new PortMapperServerSettings { Logger = new TestLogger("Port Mapper"), Port = PortMapperPort }; this.portMapperServer = new PortMapperServer(Protocol.TcpAndUdp, IPAddress.Loopback, settings); this.portMapperServer.Start(); }