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
> 
> sqlite3_prepare_v2() // use a template with ?
> while(read_packet) {
>     ProcessPack()
>     sqlite3_bind_text()
>     sqlite3_step()
>     sqlite3_reset()
> }
> sqlite3_finalize()

Hi,sorry for my  information not clear,
I want to store packet data into database...
So I need to create a table Packet right?
My table will consist of Src_MAC,Dest_MAC, Net_P,Trans_P, Src_IP,Dest_IP and
Cap_Bytes..




--
View this message in context: 
http://sqlite.1065341.n5.nabble.com/How-to-link-the-packet-in-C-file-then-store-in-sqlite-database-tp68593p68597.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to