Storing in HEX format.

2005-06-08 Thread preeth k
Hello, I am writing a program for packet sniffing in Linux platform using C language. I am using MYSQL as my database for storing packet information like IP, port, packet payload, etc. I have created a table using the following query: create table idsmatch(sip text,sport integer,dip

MySQL Insert error..

2005-04-18 Thread preeth k
Hello, I am doing programming in C and uses MySQL database. I have got a problem with inserting values stored in variables to the database. When compiling the code that I have written the following error message shows up: connect2.c: In function `main': connect2.c:19: invalid operands to binary

'File' data type in MySQL??

2005-04-05 Thread preeth k
Hello, I am doing packet capturing and I want to store the packet headers and payload in a MySQL database. I have decided the datatypes for all the fields except for the packet payload. I want to know if I can store the payload particulars in a file and then point that file to the table