Skip to content

Update dmc_websockets 1.1 grp

David McCuskey edited this page Jul 16, 2014 · 2 revisions

I am very happy to announce this latest version of dmc_websockets as it provides a more robust implementation of the websocket protocol. As such, you should update your existing library as soon as possible.

Autobahn Testing

There is a new example dmc-websockets-autobahntestsuite which runs the library against the "standard" websocket-testing library Autobahn Test Suitedmc_websockets passes all of the "core" tests and more are planned.

The Autobahn example has instructions on how to setup a testing server so you can run it yourself. (It's fun to watch all of the tests scroll by!)

I want to give thanks to the team at Tavendo for creating such an amazing tool for testing websocket connections.

Module Loading

As a whole, dmc_corona has a new method of require()-ing files. This is unfortunately because it seems that Corona SDK doesn't properly support the standard Lua package.path on all platforms so I had to write my own. bummer.

This functionality is important so that a project can properly find and load 3rd party modules while 1. having the ability to organize the files/folders as wished and 2. so more complex libraries (e.g. multi-file libs) won't have trouble locating their dependencies.

I have tried my best to make the new functionality as transparent as possible. If this is ever fixed in the Corona SDK I will happily remove my changes to the require() method.

dmc

Clone this wiki locally