Skynet
A lightweight online game framework
...Official Lua versions can also be used as long as the Makefile is edited. With Socket API and SocketChannel , which makes it easier to implement socket pool and reconnect, you can use Skynet to call socket even asynchronously. Skynet doesn't force a specific protocol, you can come up with your own design.