[ENet-discuss] event->peer usage

James Turk james at conceptofzero.net
Sun Aug 31 16:03:51 PDT 2003

By luck I wasn't getting any memory errors when putting a username there 
but I'm glad I asked to avoid future confusing problems.
       -James Turk

Lee Salzman wrote:

>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
>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
>>ENet-discuss mailing list
>>ENet-discuss at cubik.org

More information about the ENet-discuss mailing list