Home > Software engineering >  MFC network programming error when the client sends information create failed: 10060
MFC network programming error when the client sends information create failed: 10060

Time:10-01

Firewalls are closed, then the port monitor also showed that even on, two computers can also ping

Source program is using the resources for http://download.csdn.net/detail/yejiansnake/379597
Corresponding interpretation of post is this http://blog.csdn.net/yejiansnake/article/details/2175778

This is a simple example of socket communication but got a morning or not,,, alas

CodePudding user response:

this is the client and server monitoring information should be connected

CodePudding user response:

May be due to the connection after a period of time there is no right answer or connection host don't respond, open the connection attempts fail,

CodePudding user response:

To locate your first client specific failure code location, and then combined with the error code to analysis what is the reason for the error

CodePudding user response:

Because the connected party in 10060 after a period of time there is no right answer did not respond to a host or connection, connection attempts fail,
Can you ping?

CodePudding user response:

quoted zhao 4, 4/f, the teacher's reply:
10060 because the connected party after a period of time there is no right answer or connection host don't respond, open the connection attempt failed,
Can you ping?

Can send and receive messages, whether this case can only be done within the local area network (LAN) communication

CodePudding user response:

reference 5 floor qq_33234615 reply:
Quote: refer to 4th floor 4 teacher zhao response:
10060 because the connected party after a period of time there is no right answer or connection host don't respond, open the connection attempt failed,
Can you ping?

Can send and receive the news, if this case can only be done within the local area network (LAN) communication

Looking for network management,

CodePudding user response:

10060 is given by the Windows Socket programming interface error, error code and description is as follows:
A Socket error 10060 - the Connection timed out//timeout

The reason for the error could be: 1. To access the server has a problem, the server process didn't start, or the service did not start, etc.;
2. The network has a problem, the server side is connected not;
3. Have a firewall blocking the connection,
  • Related