It's already kept by Enet in separate queue which is processed by
Client.step method. Moreover if you don't want network events in Pygame
event queue just don't import pygame_network.events module (it will prevent
generation of any events).

Greetings,
Szymon

2012/7/4 Greg Ewing <[email protected]>

> Ryan Hope wrote:
>
>> Can someone explain to me why integrating network packets with pygame
>> events is a good idea? It was my understanding that the pygame event
>> buffer can only hold a limited number of events before events get
>> lost.
>>
>
> If this turns out to be a problem, it could be addressed by
> keeping the network packets in a separate queue, and just using
> the event mechanism to indicate when there is something in the
> queue.
>
> --
> Greg
>

Reply via email to