Home > other >  The socket communication connect connection problem
The socket communication connect connection problem

Time:11-02

After my server binding, monitoring opened two threads, thread the accept () loop accept connections, the server's main program after open threads into a while loop, loop in the main processing camera image acquisition and processing, why my client connect () connect to the server failure? The connect () returns 1, WSAGetLastError () returns 0, what reason be? Feel the server into the thread, have been in a while loop, the great god, please give directions
  • Related