Allow specifying a listen interface and port, for remote replaying

This commit is contained in:
baldurk
2016-07-12 17:39:22 +02:00
parent aaa2bd1d7d
commit 73dc89f25a
8 changed files with 44 additions and 20 deletions
@@ -62,7 +62,7 @@ namespace renderdocui.Windows.Dialogs
string[] proxies = new string[0];
try
{
var dummy = StaticExports.CreateRemoteReplayConnection("-");
var dummy = StaticExports.CreateRemoteReplayConnection("-", 0);
proxies = dummy.LocalProxies();
dummy.Shutdown();
}
+3 -3
View File
@@ -673,7 +673,7 @@ namespace renderdocui.Windows
string[] drivers = new string[0];
try
{
var dummy = StaticExports.CreateRemoteReplayConnection(m_RemoteReplay);
var dummy = StaticExports.CreateRemoteReplayConnection(m_RemoteReplay, 0);
drivers = dummy.RemoteSupportedReplays();
dummy.Shutdown();
}
@@ -708,7 +708,7 @@ namespace renderdocui.Windows
string[] proxies = new string[0];
try
{
var dummy = StaticExports.CreateRemoteReplayConnection("-");
var dummy = StaticExports.CreateRemoteReplayConnection("-", 0);
proxies = dummy.LocalProxies();
dummy.Shutdown();
}
@@ -1498,7 +1498,7 @@ namespace renderdocui.Windows
Thread thread = Helpers.NewThread(new ThreadStart(() =>
{
StaticExports.SpawnReplayHost(ref killReplay);
StaticExports.SpawnReplayHost("", 0, ref killReplay);
}));
thread.Start();