From 55e84507573c0f77582385328afc722892d2f140 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Mon, 22 Nov 1999 01:25:10 +0000 Subject: [PATCH] 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 --- samples/wxsocket/server.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.2