WCF socket communication data transmission

WCF socket NetTcpBinding LAN communications, when sending the specified IP machine exists, but no response, determined by the opentime throws time. But IP specified cannot be found, an exception is thrown by a very long time. How to solve it?

Started by Merlin at November 18, 2016 - 1:13 AM

The amount of. No one knows? I describe is not clear?

Posted by Merlin at November 27, 2016 - 1:19 AM

A thread to do this thing, response does not affect the main program.

Posted by Aaron at November 29, 2016 - 2:08 AM

I am open to the thread. But the demand for the other state during the waiting time, and then determine whether to send a message

Posted by Merlin at December 13, 2016 - 2:37 AM

For example, there are two servers, I need to connect to the server if the server 1, 1 no response, he continued to server 2 but this process takes time must be less than the waiting time.

Posted by Merlin at December 27, 2016 - 2:50 AM