GetAddressFromName(const wxString& serverName, const wxString& host = _T(""))
{
// we always use INET sockets under non-Unix systems
-#if defined(__UNIX__) && !defined(__WXMAC__)
+#if defined(__UNIX__) && !defined(__WXMAC__) && !defined(__WINE__)
// under Unix, if the server name looks like a path, create a AF_UNIX
// socket instead of AF_INET one
if ( serverName.Find(_T('/')) != wxNOT_FOUND )
m_codeco->Write8(IPC_DISCONNECT);
m_sock->Notify(FALSE);
m_sock->Close();
- SetConnected(false);
+ SetConnected(FALSE);
return TRUE;
}
{
sock->Notify(FALSE);
sock->Close();
- connection->SetConnected(false);
+ connection->SetConnected(FALSE);
connection->OnDisconnect();
break;
}