I think your problem might be that your pyglet update loop is blocking your 
net code from listening for/sending packets.

When working with twisted <https://twistedmatrix.com/trac/>, I use 
twisted's task.coiterate function, then yield my pyglet update loop every 
cycle
so the netcode can handle incoming/outgoing packets, otherwise it locks up 
the netcode and only updates the pyglet 
main loop when I schedule it. I don't normally work with sockets though, 
but you could try folding your network I/O into 
you update.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to