// for all others, include the necessary headers
#ifndef WX_PRECOMP
# include "wx/wx.h"
-# include "wx/socket.h"
#endif
+#include "wx/socket.h"
+
// --------------------------------------------------------------------------
// resources
// --------------------------------------------------------------------------
// Create the socket
wxIPV4address addr;
addr.Service(3000);
+ addr.LocalHost();
m_server = new wxSocketServer(addr);
m_server->SetEventHandler(*this, SERVER_ID);