This is our old Q&A Site. Please post any new questions and answers at

hello all,

I am using (shared library for wireshark)v1.6.5 for dissecting network packets, now i want to make my application multithreaded.

so, is it possible to use libworeshark in a multithreaded environment, because every time i am executing the multithreaded application for dissecting packets, first thread works fine, after then no thread can dissect data.

asked 28 Feb '13, 23:59

Sanny_D's gravatar image

accept rate: 50%

Libwireshark is not thread safe, and isn't likely to be made so in the future. You'll just have to call libwireshark from a single process thread.

permanent link

answered 01 Mar '13, 02:39

grahamb's gravatar image

grahamb ♦
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Feb '13, 23:59

question was seen: 3,183 times

last updated: 15 May '13, 22:08

p​o​w​e​r​e​d by O​S​Q​A