Hi
I'm writing a network server program in C++ which receives binary packets from network. Packets are then stored in std::vector< unsigned char >
I've used MySQL 5.1 and MySQL Connector/C++ from ubuntu lucid to store packet information (field by field) into a table in a database. However, I also need to store the complete binary form of the packet too.
So, I've defined a blob field in the same table. The question is I don't know (and I can't find in MySQL ref manual or web) the exact SQL syntax of inserting blob values.
Packets are variable sized and at most 5k
Any help?