[ENet-discuss] help on server creation

Adam D. Moss adam at gimp.org
Wed Feb 16 10:57:35 PST 2005


stan ioan wrote:
>    hi mi name is jhon i'm from romania and i need some help regarding enet.
>  i'm making a chat program in gtk and i want to be able to connect to 
> my server from the same program.( make a server enet host and a peer 
> that connects to it from the same program ).

That's entirely possible.  Nothing special is needed for
this.  One note, though, is that a single ENetHost cannot (for
some reason) connect to itself, so you'll have to create
separate ENetHosts for client and server (though you probably
would anyway).

--Adam
-- 
Adam D. Moss   -   adam at gimp.org


More information about the ENet-discuss mailing list