03-04-2010 04:18 AM
I need a blocking read on the tcp socket because i do not want to use the TCP callback. With the ClientTCPRead i cannot set infinite timeout.
Anyone could help me please?
Thanks in advice!
03-04-2010 09:08 AM
You can write your BlockingReadTCP function by calling ClientTCPRead (with finite timeout) in a loop.
This way you also get the ability-to-abort as a bonus. Just check the value of an abort flag within the loop and read again.
Does not that suit your needs?
03-04-2010 09:42 AM
This could be a solution, thank you!