Fehmi Noyan ISI wrote
> I cannot understand "So I need to create a table Packet right?", but you
> do need to create a table first.
>
> You may need to bother yourself by reading the API reference for the
> functions I gave.
ok...can help me check my code?some part I not sure...thanks
link.c
>
I cannot understand "So I need to create a table Packet right?", but you do
need to create a table first.
You may need to bother yourself by reading the API reference for the functions
I gave.
On 01/05/2013, at 9:09 PM, Newbie89 wrote:
> So I need to create a table
Fehmi Noyan ISI wrote
> This seems to be a C programming question rather than sqlite related
> issue.
>
> You even did not mention which information you would like to store, we
> only have a code snippet that processes a captured network packet.
>
> something like this would work
>
>
This seems to be a C programming question rather than sqlite related issue.
You even did not mention which information you would like to store, we only
have a code snippet that processes a captured network packet.
something like this would work
sqlite3_prepare_v2() // use a template with ?
Here is the c file code I need to link and store in database:
struct Packet
{
char Src_MAC[18], Dest_MAC[18];
char Net_P[5],Trans_P[5];
char Src_IP[16], Dest_IP[16];
long int Src_Port,Dest_Port, Cap_Bytes; //[ long int Range: −2,147,483,648
to 2,147,483,647]
};
struct Packet Pack[6];
void
5 matches
Mail list logo