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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user