[ENet-discuss] Addition of user data pointer to host structure

Lee Salzman lsalzman1 at cox.net
Wed Jul 25 09:04:44 PDT 2007


Considering there is no case where ENet just hands you a host, wouldn't 
it be easier to just make a structure pointing to the host instead?

Lee

Beau Albiston wrote:
> I've added this to my local repository and use it often.  Perhaps it can 
> be added to the main repository?
> 
> typedef struct _ENetHost
> {
>     ...
>     void * data;
> } ENetHost;
> 
> (like that in ENetPeer)
> 
> Thanks,
> -Beau
>


More information about the ENet-discuss mailing list