View Full Version : Sockets and OpenGL

16th June 2006, 19:21
I want to make a GUI that animates in response to several other processes running on a network. What is the best way to link the openGL update routines to the network commands if I wish to synchronize the GUI and the other processes? Should I have one tcpServer? Should I open a socket for every process? I don't have very much experience with C socket programming... Thanks in advance

19th June 2006, 17:38
There are a number of articles and tutorials on OpenGL out there, some of them are:


As for networking, the Qt classes emit signals when they have received something. Just connect one of these to a slot in a QGLWidget sub-class and call update().