Difference between revisions of "Talk:lua-enet"

 
Line 3: Line 3:
 
* There is no information regarding closing a [[enet.host]] in order to free up the taken socket.
 
* There is no information regarding closing a [[enet.host]] in order to free up the taken socket.
  
I'm pretty new to the whole wiki thing though, so feel free to tell me what I did wrong if anything.
+
I'm pretty new to the whole wiki thing though, so feel free to tell me what I did wrong if anything. [[User:Naelstrof|Naelstrof]]

Latest revision as of 04:45, 10 October 2014

This wiki article exists because Love2D's lua-enet differs slightly from the official documentation ( socket_get_address() vs get_socket_address() ), and the official documentation is lacking in several regards:

  • The provided examples are misleading because they don't completely clear the event queue in every pass. Leading to people, including me, to only process one event every frame.
  • There is no information regarding closing a enet.host in order to free up the taken socket.

I'm pretty new to the whole wiki thing though, so feel free to tell me what I did wrong if anything. Naelstrof