asynchronous C API (polling the mysql socket fd)
Dear All,
In a *single-threaded* application (coded in C, perhaps thru a custom C code generator), I would like to to do asynchronous MySQL requests. This means that I want to send a request, and poll the reply (thru a poll or select system call) in parallel with other file descriptors (e.g. an X11 display connection, ...). Are there standard ways to do so? Of course, I can dig into mysql code, but I would prefer examples, ...
Regards.
--
Basile STARYNKEVITCH ::::
http://starynkevitch.net/Basile/
Subject
Written By
Posted
asynchronous C API (polling the mysql socket fd)
January 28, 2005 03:31PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.