views:

190

answers:

1

Hi, I need to program asynchronous ODBC driver,which need to handle user requested ODBC APIs in asynchronous way. I am desperate to know how to write an asynchronous program portable on all platforms. Can you please provide me a basic C code on how to right asynchronous code?

Thanks in advance.

A: 

http://stackoverflow.com/questions/883156/tidy-code-for-asynchronous-io is a good thread to start in.

Portable solutions don't really exist. It also differs for socket streams and files, on all platforms.

libevent is a good abstraction.

Writing ODBC is not for the faint hearted.

Will
ODBC is actually pretty straightforward.
anon
depends on the practitioner, Neil.
Will