Saturday, May 2, 2015

Console.ReadLine() not working with .net Framework > 3.5

@ Fouad Roumieh,

I tried with sleep periods of 1000ms and 2000ms, it didn't change the application behaviour.

If I put the sleep period inside the loop right before the Console.ReadLine(), every input receive before the 3 seconds sleep is sent back to the master app, and then the program stops communicating.

If I put the sleep period right after the Console.ReadLine(), no data is ever sent back to the master app.

I tested the communication between 2 .net app with your code, and it is working fine on my computer too.

No comments:

Post a Comment