Hello, has anyone sorted out how to do a async socket send and recv to a “non http server”. I have a game server that I would like to interface with but it is not http based just plain socket data. I want to for instance send a few characters and receive a few while not blocking the game execution. [import]uid: 14451 topic_id: 10785 reply_id: 310785[/import]
take a look at lua-coroutines
and do a search for luasockets ( we integrate lua sockets)
also google diego denab who wrote lua sockets he explains how to do it
c [import]uid: 24 topic_id: 10785 reply_id: 39195[/import]