Added a test to wxSocket sample (client side socket event test)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-09-02 19:11:38 +00:00
parent da4b7ffc78
commit 765e386bfa
2 changed files with 53 additions and 1 deletions

View File

@@ -197,6 +197,10 @@ void MyFrame::ExecTest1(wxSocketBase *sock_o)
l = sock_o->Read(buf, 50).LastCount();
sock_o->Write(buf, l);
l = sock_o->Read(buf, 50).LastCount();
sock_o->Write(buf, l);
delete[] buf;
}
void MyFrame::UpdateStatus(int incr)