-
wait for reply?
Hello everyone!
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.
-
Thread.sleep(5000)
Sent from my XT910 using Tapatalk 2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks