[ENet-discuss] re: enet_host_service() only acts on ENET_EVENT_TYPE_DISCONNECT

Martin Sherburn emxmns at nottingham.ac.uk
Wed Sep 1 06:13:34 PDT 2004


Hi,

The problem is most likely in your client code, try setting up a similar loop in the client calling the:

enet_host_service() function.

I had similar things happening when I started out, I think its due to the fact that when connecting enet automatically generates a number of packets to handle the connecting process. If you do not call enet_host_service, those queued packets will never be sent and the connection will not complete correctly.

Martin.


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



More information about the ENet-discuss mailing list