Difference between revisions of "Talk:lua-enet"

(Created page with "This wiki article exists because Love2D's lua-enet differs slightly from the official documentation ( socket_get_address() vs [http://leafo.net/...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This wiki article exists because Love2D's lua-enet differs slightly from the official documentation ([[enet.host:socket_get_address | socket_get_address()]] vs [http://leafo.net/lua-enet/#hostget_socket_address | get_socket_address()] ), and the official documentation is lacking in several regards:
+
This wiki article exists because Love2D's lua-enet differs slightly from the official documentation ([[enet.host:socket_get_address | socket_get_address()]] vs [http://leafo.net/lua-enet/#hostget_socket_address 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.
 
* 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.
 
* 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