I need to query an on-line database 12,000 times.
Each query is of the following form (with different criteria each time):
According to "Windows Sockets: Sequence of Operation",
it looks like I will have to
// construct a socket
// create the SOCKET
// seek a connection
// construct file object
// construct input and output archives
// use the archives to pass data:
arIn >> dwValue;
arOut << dwValue;
Does this look right for me?
I am confused by the reference to archives. I don't know what an archive means in this context.
I would happily give 750 points for a working C++ code to send the above query and capture the output to a character buffer.