First of all, the code below seems to be working. It extracts jpeg images from a continuous byte stream and displays them in a pictureBox as they arrive if the encapsulating
Why you don't use Invoke to update the PictureBox?
Invoke
PictureBox