git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11460
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return NULL;
// We set m_connected back to FALSE so wxSocketBase will know what to do.
return NULL;
// We set m_connected back to FALSE so wxSocketBase will know what to do.
+#ifdef __WXMAC__
+ wxSocketClient::Connect(*m_addr , FALSE );
+ wxSocketClient::WaitOnConnect(10);
+
+ if (!wxSocketClient::IsConnected())
+ return NULL;
+#else
if (!wxProtocol::Connect(*m_addr))
return NULL;
if (!wxProtocol::Connect(*m_addr))
return NULL;
if (!BuildRequest(path, wxHTTP_GET))
return NULL;
if (!BuildRequest(path, wxHTTP_GET))
return NULL;