Quote:
1) First i have a question. In the manual it says you can send an event to yourself.


Yes this will require traffic. This is ment to do some sort of ping to test the connection. Because the packet will travel from the client to the server and back.

Better do it this way:

Code:
enet_clsend_event(20, daten, 25, BROADCAST);
event_function(MY_CLIENTID, (String*)daten, 25); //the event function that is registered for event 20



This costs no traffic and is easy to implement. Another sending option would be too much work for too less advantages because the workaround is that easy.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version