[ENet-discuss] Addition of user data pointer to host structure
Olivier Delannoy
olivier.delannoy at gmail.com
Wed Jul 25 10:33:04 PDT 2007
A peer point to an host so you might be needing this data slot to get
a C++ wrapper which encompass the ENetHost object
On 7/25/07, Lee Salzman <lsalzman1 at cox.net> wrote:
> 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
> >
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
--
Olivier Delannoy
ATER
PRiSM Laboratory
Versailles University, FRANCE
More information about the ENet-discuss
mailing list