netlib

Current version is 2.02
[download]


overview
you can easily make your multiplayer lua game be able to play over the internet
heres a quick summary on how netlib works.
you send data to variables called id's
for example, to set the variable 'name' to 'bob', you would simply do:
netsend('name','bob','w')
the 'w' means overwrite, which is what you will be doing most often.

to get the variable 'name' and copy it to 'player', you would do:
netget('name')
netrecv()
player = netvalue('name')
netget sends the request for the variable 'name'
netrecv recieves all the incoming data
netvalue returns the value of 'name', if it was recieved


interface


screenshot of the server: