You simply create a host so it can accept incoming connections and then use that host to create outgoing connections as well...
On Fri, Apr 17, 2009 at 3:17 AM, Lee Salzman <[email protected]> wrote: > The designation of client and server is illusory, just an example for that > tutorial. That is why all connections in ENet are referred to as peers. :) > > Lee > > M. Rijks wrote: >> >> Hi again, >> >> I wondered if it is possible somehow to make an Enet host connect to >> another Enet server while at the same time retaining the possibility to >> accept connections by itself? The tutorial suggests that one either starts >> as a server or a client, but not both. >> >> Thanks in advance for any pointers! >> > > _______________________________________________ > ENet-discuss mailing list > [email protected] > http://lists.cubik.org/mailman/listinfo/enet-discuss > _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
