Extract and store opengl data?


i am new to opengl (using c++) and i wonder if the following is possible:

I have created a window (glutCreateWindow) with for example a simple rotating 3D box.

Is it possible to extract this data and store it for example into a vector or array, which would be dynamic?

I want to make this data available in a network and display it on a remote display.

Could anyone give me a hint how i can do this?

Thanks a lot!