From: Guillermo Rodriguez Garcia Date: Mon, 22 Nov 1999 01:25:10 +0000 (+0000) Subject: explicitly set addr.LocalHost before creting the wxSocketServer object X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/55e84507573c0f77582385328afc722892d2f140 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 --- diff --git a/samples/wxsocket/server.cpp b/samples/wxsocket/server.cpp index a2285079c2..817c15657b 100644 --- a/samples/wxsocket/server.cpp +++ b/samples/wxsocket/server.cpp @@ -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);