Removed Windows auto-spawn client code

This commit is contained in:
Paul Bakker 2013-11-29 11:16:37 +01:00
parent 76f03118c4
commit a8239a4490
2 changed files with 0 additions and 44 deletions

View file

@ -221,28 +221,6 @@ reset:
/* /*
* 3. Wait until a client connects * 3. Wait until a client connects
*/ */
#if defined(_WIN32_WCE)
{
SHELLEXECUTEINFO sei;
ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) );
sei.cbSize = sizeof( SHELLEXECUTEINFO );
sei.fMask = 0;
sei.hwnd = 0;
sei.lpVerb = _T( "open" );
sei.lpFile = _T( "https://localhost:4433/" );
sei.lpParameters = NULL;
sei.lpDirectory = NULL;
sei.nShow = SW_SHOWNORMAL;
ShellExecuteEx( &sei );
}
#elif defined(_WIN32)
ShellExecute( NULL, "open", "https://localhost:4433/",
NULL, NULL, SW_SHOWNORMAL );
#endif
client_fd = -1; client_fd = -1;
printf( " . Waiting for a remote connection ..." ); printf( " . Waiting for a remote connection ..." );

View file

@ -770,28 +770,6 @@ reset:
/* /*
* 3. Wait until a client connects * 3. Wait until a client connects
*/ */
#if defined(_WIN32_WCE)
{
SHELLEXECUTEINFO sei;
ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) );
sei.cbSize = sizeof( SHELLEXECUTEINFO );
sei.fMask = 0;
sei.hwnd = 0;
sei.lpVerb = _T( "open" );
sei.lpFile = _T( "https://localhost:4433/" );
sei.lpParameters = NULL;
sei.lpDirectory = NULL;
sei.nShow = SW_SHOWNORMAL;
ShellExecuteEx( &sei );
}
#elif defined(_WIN32)
ShellExecute( NULL, "open", "https://localhost:4433/",
NULL, NULL, SW_SHOWNORMAL );
#endif
client_fd = -1; client_fd = -1;
printf( " . Waiting for a remote connection ..." ); printf( " . Waiting for a remote connection ..." );