CSocket::Connect returns WSAEISCONN
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have a MFC serveur and a MFC client which work fine in most cases except 1 (the client and the serveur are in different Active Directory trees on the same network). On the client I use : m_pConnectionSocket = new CSocket(); if (m_pConnectionSocket && m_pConnectionSocket->Create()) { if (m_pConnectionSocket->Connect(m_strLicenseServerName, TCP_PORT_3)) { ... } } In the case it does not work Connect returns WSAEISCONN error which make no sense on my point of view. Any idea ?