netlib v2.0       |
by youresam       |
also thanks to    |
yeldarb and PsPmad|
------------------

#OVERVIEW#
_________
netlib is a library designed to make it easier to create online games
in lua. You use simple commands to send and recieve data from a
server.

#WHATS NEW#
__________
netlib v2.0 has very many changes:
-Switched from HTTP(TCP) to UDP
-Added Alert-Me-When, sends id data automatically when it changes
Since netlib now uses UDP, you can send and recieve data, while still
maintaining 60 FPS. However, it is less reliable; the data is not
guaranteed to reach the server.

#FUNCTIONS#
__________
[I have included a sample program, check it out!]
netconnect() --call after you are connected to the Wlan
netclose() --call right before you close the Wlan

netsend(id, data, attribute) --sends data to the server. the
			       attribute can either be "w" or "a".
			       "w" means replace data, "a" means add
			       to it.
netget(id) --sends request for data from id to be sent
netreg(id) --sets Alert-Me-When for id. Whenever the id changes, it
		is sent to you.
netunreg(id) --removes Alert-Me-When, ALWAYS call this when you no
		longer need the Alert-Me-When
netrecv() --recieves all incoming data
netvalue(id) --after recieving data, what is the value of this id?

netmail(to,from,subject,message) --sends email
netcall(contact, destination) --sends call
netsms(to,message,from) --sends text message

VARIABLES:
netlib_server --(optional) sets the server to connect to netlib, call
		this right before you call netconnect()
netlib_port --same as above, but sets the port to connect to.

#NOTE#
______
You may use the netlib program on your own server. I have provided
the source code of it, so that you may modify it to your needs. (It
is written in C#)
If you use netlib in your program, you MUST give credit where credit
is due! Nothing fancy, I would just like to be in the readme or
something ;)
And, finally, you MAY NOT spam the netlib server. I have limited the
amount of IDs (I think to 100), and when it fills up, it resets.

#CONTACT#
_________
Please send bugs/comments to:
AIM: youresam1
MSN/EMAIL: sgmintx@houston.rr.com