wait for reply?
I am making an application in VB.NET. Got stuck so need your help. The application makes a search in the database and sends a message to another system using socket programming.Now what I want to do is to wait for 5 seconds to get a reply from that system, and if I don't get a reply within 5 seconds, I want my application to perform the same search again in the database until it receives a reply from that system. Can anyone explain how it can be done??
Thanks in advance.
Sent from my XT910 using Tapatalk 2