Page 1 of 1

How to Read/Write serial COM port asynchronous?

Posted: Sat Jun 27, 2020 7:39 pm
by Monox18
Hello All,

I would like to Read/Write COM ports on Windows 10 x64 in a non-blocking way. Indy license.

If I use "open file" or "open driver" they will do it in a blocking way. The Read from file/driver doesn't seem to support callbacks.

"Load" commands seems to work with URL only

tsNet works well with normal URL but no Idea how to use it with COM. How can I use tsNet to read COM ports? Any ideas how to manage serial ports asynchronous?

Thank you!

Re: How to Read/Write serial COM port asynchronous?

Posted: Sun Sep 27, 2020 12:31 pm
by mimu

Re: How to Read/Write serial COM port asynchronous?

Posted: Sun Sep 27, 2020 2:57 pm
by Monox18
Thank you mimu. Indeed I ended up using "with message" option. That made it possible to write async and use callbacks.