The DLL is writen in BlitzMax (using makedll bin) and requires another modules to be compiled, so I choose to not to give the source code.
You can find in internet some examples of BNet module, but I added an example of a TCP server in the file.
HOW TO USE?
After installing the DLL file in your CS2D folder, you have to add this to your script.
Quote
libInit = package.loadlib("the path to the dll","init")
libInit()
libInit()
for example
Quote
libInit = package.loadlib("lib/socket.dll","init")
libInit()
libInit()
Errors
If you find any error, please send me a private message.
Credits to Vertex for BlitzMax's BNet module.
Comment & subscribe to my Facebook page
edited 4×, last 20.10.12 11:45:45 pm
Approved by Seekay
Download
858 kb, 663 Downloads
Lua BNet library (Windows only)
4 like it!
Offline
1 
mafia_man: Yea, I got them both. But it isn't that easy, BlitzMax doesn't support building DLLs so I had to find a command line for windows, now I have to do the same but for Linux (.SO Files)
§4.3 - Only English/German (depending on section) is allowed