[ENet-discuss] event->peer usage

Lee Salzman lsalzman at telerama.com
Sun Aug 31 14:48:22 PDT 2003


Nothing is allocated. It's pretty much just an empty field to do with as
you please. ENet never touches the field at all, so you have to allocate
and free any stuff you want to put in there when peers
connect/disconnect.

Lee

On Sun, Aug 31, 2003 at 01:34:29PM -0400, James Turk wrote:
> I was wondeirng what the correct way to assign data to event->peer.data 
> is.  It seems to be that the memory is already allocated but what is the 
> size and how should this space be used?  Any help or examples that can 
> be given would be appreciated.
> 
>       thanks,
>           James Turk
> 


More information about the ENet-discuss mailing list