some fixes in TestSocketServer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -785,6 +785,8 @@ static void TestSocketServer()
|
||||
|
||||
delete socket;
|
||||
}
|
||||
|
||||
delete server;
|
||||
}
|
||||
|
||||
static void TestSocketClient()
|
||||
@@ -2606,9 +2608,9 @@ int main(int argc, char **argv)
|
||||
#endif // TEST_MIME
|
||||
|
||||
#ifdef TEST_SOCKETS
|
||||
if ( 1 )
|
||||
TestSocketServer();
|
||||
if ( 0 )
|
||||
TestSocketServer();
|
||||
if ( 1 )
|
||||
{
|
||||
TestSocketClient();
|
||||
TestProtocolFtp();
|
||||
|
Reference in New Issue
Block a user