RosDbg: Signal if a client connected in pipe client mode, this mode works with QEMU now

svn path=/trunk/tools/reactosdbg/; revision=1085
This commit is contained in:
Gregor Schneider 2009-07-28 01:25:09 +00:00
parent a11ec4d33c
commit a7a8471b9a
2 changed files with 8 additions and 6 deletions

View File

@ -54,7 +54,6 @@ namespace AbstractPipe
{
ioStream = sStream;
bClientConn = true;
if (ClientConnectedEvent != null)
{
ClientConnectedEvent(this, EventArgs.Empty);
@ -89,6 +88,11 @@ namespace AbstractPipe
if (cStream.IsConnected)
{
ioStream = cStream;
bClientConn = true;
if (ClientConnectedEvent != null)
{
ClientConnectedEvent(this, EventArgs.Empty);
}
return true;
}
else
@ -120,13 +124,11 @@ namespace AbstractPipe
case ConnectionMode.MODE_CLIENT:
CreateClientPipe(name);
/* pipe open, everything fine */
return true;
case ConnectionMode.MODE_SERVER:
CreateServerPipe(name);
return true;
return true;
}
return false;
}

View File

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// will be increased as well. MSI installers must not be generated with the same Build Number
// otherwise they won't upgrade the old installation!
[assembly: AssemblyVersion("1.0.2.65")]
[assembly: AssemblyFileVersion("1.0.2.65")]
[assembly: AssemblyVersion("1.0.2.66")]
[assembly: AssemblyFileVersion("1.0.2.66")]