1
Answer

Thread Synchronization

Ask a question
nnduyhoang

nnduyhoang

19y
2k
1
Hi, I'm coding a IRC client application. And I'm using a aynchronous socket ( it's raise the event DataArrival to receive the data ). But I have problem when I want to write some automatically modules. How can I do like this: public void Question() { Send("What is your name?"); string name = WaitForAnswer(); // Wait for the answer } Thanks!

Answers (1)