[ENet-discuss] RE: initialization problem ? (cr33ch)

Nick Hodapp nickh at Oberon-Media.com
Mon Oct 4 12:57:39 PDT 2004


Creech - 

The main issue with your code is that the client never calls
enet_host_flush(), or enet_host_service() once it sends.  Both client and
server need to call enet_host_service() periodically (typically in a loop)
to maintain the connection.

Nick Hodapp

----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Oct 2004 14:58:37 +0100
From: cr33ch <creech at redbrick.dcu.ie>
Subject: [ENet-discuss] initialization problem ? 
To: enet-discuss at cubik.org
Message-ID: <20041004135837.GA20433 at carbon.redbrick.dcu.ie>
Content-Type: text/plain; charset=us-ascii

Lo folks,

Trying to get ENet working here and im having a problem with the client
recognising 
the server, ive made the following code but dont know where the problem is.

Its been a while since ive used c++ so gimme a break if ive made a noobeh
mistake :p

http://www.redbrick.dcu.ie/~creech/test/main.cpp
http://www.redbrick.dcu.ie/~creech/test/socket.h
http://www.redbrick.dcu.ie/~creech/test/socket.cpp

-creech


------------------------------

_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org
http://lists.cubik.org/mailman/listinfo/enet-discuss


End of ENet-discuss Digest, Vol 18, Issue 2
*******************************************



More information about the ENet-discuss mailing list