Mail Archives: djgpp/2000/10/31/17:51:29
Hello.
Edmund Horner wrote:
> Are there any libraries that hack their way through to the server APIs,
> eliminating the need for mysql.exe? (I understand that libsocket does
> this with windows sockets.)
I'm not quite sure what you mean by "hacks through server APIs" here.
libsocket doesn't really hack its way through to any server APIs. The API
it uses [for WSOCK.VXD] is just the Winsock API packaged differently for
the virtual device driver environment. The constants, semantics of most of
the calls, etc. is pretty much the same.
Anyway, back to your problem: It sounds like you want something to keep
the mysql.exe process open and just feed it your queries. This way the
overhead of starting/stopping a process would be removed. How does
mysql.exe work? I guess it uses some form of Windows IPC, perhaps even a
socket. If it does use a socket, perhaps you could use libsocket to send a
query to mysqld.exe?
Bye,
--
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]
- Raw text -