> When allocating memory for my ICMP packets I wasnt doind a bzero to fill all > fields with 0, so some "garbage" generated by Sqlite use of memory was > "corrupting" my packets.
And still try please my very first suggestion - run you program with valgrind (just to get used to it and to use it right away next time). You'll see that it shows you all reading of uninitialized memory... Pavel On Wed, Mar 24, 2010 at 1:19 PM, Martin Sigwald <msigw...@gmail.com> wrote: > Problem Solved: As some one point out, it was MY fault. > When allocating memory for my ICMP packets I wasnt doind a bzero to fill all > fields with 0, so some "garbage" generated by Sqlite use of memory was > "corrupting" my packets. > Thank you all for the help. One of the best user groups I ever met. Terrible > sorry for wasting your time. > > On Wed, Mar 24, 2010 at 2:12 PM, David Baird <dhba...@gmail.com> wrote: > >> On Wed, Mar 24, 2010 at 11:09 AM, Martin Sigwald <msigw...@gmail.com> >> wrote: >> > Doing N pings after a _close or a query has the same result as doind one: >> > not one of them works. >> >> Do 2 pings work ever? For example, how about each of these scenarios? >> >> open_db >> ping >> ping >> close_db >> >> or >> >> ping >> ping >> >> or >> >> open_db >> close_db >> ping >> ping >> >> ? >> >> -David >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users