explicitly set addr.LocalHost before creting the wxSocketServer object

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
1999-11-22 01:25:10 +00:00
parent 11b620511d
commit 55e8450757

View File

@@ -180,6 +180,7 @@ MyFrame::MyFrame() : wxFrame((wxFrame *)NULL, -1,
// Create the socket
wxIPV4address addr;
addr.Service(3000);
addr.LocalHost();
m_server = new wxSocketServer(addr);
m_server->SetEventHandler(*this, SERVER_ID);