Hello,

I'm using TWSocket for UDP communications, so far it works quite good.
Now I have the problem that at one place in the program I need
synchronus communication. I send out one byte and if I receive the same
byte within some short timeout, I assume that the device I'm talking to
has a echo mode.

If I use ReadLine with a 50 ms timeout, my program handg, until the
close button is pressed (x right corner of the window). Then is
continues but hasn't read anything. If I don't press that button it
doesn't continue!

How to use ReadLine properly? In the help was something with Wait
statet, but the property where you should assign that wait object to
doesn't exist (any more).

Do you have a short sample?

I'm using D2005 Arch. SP1 german on Windows XP SP2.

Greetings

Markus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to