Receive the pixel streaming

Hi, I’m a beginner and the pipline is:

Send/stream the rendered game from sever A to another computer B, and in B, do some image processing and then send/ stream to headset C.

I found the pixel streaming and run it successfully, but I don’t know how to receive the pixel streaming using python/ c++ and then do some process

If it possible? or other pipeline? This experiment must need these two computer A, B and headset C.

Thank you so much and sorry for my poor English!