sockets and opengl
i want to use sockets and opengl.
there is a raw-socket sniffer which should run and if there is for example much traffic a cube or whatever should rotate.
how is this possible?
i mean i have the sniff-thing and the cube but how can i use this together?
THX FOR HELP
--------
ts0
--------ts0
It would probably go like this :
void render_scene(){// clear buffers// reset modelview matrixstatic double angle = 0;if (sniffer.lotsOfTraffic())angle += 0.25;glRotated(angle,0,1,0);DrawCube();//swap buffers}
[edited by - George2 on February 22, 2003 10:35:07 AM]
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement