Hello!
Is it possible to make simple HTTP server at Lua in V-REP?
For example to handle GET requests: http://localhost:port/action etc.
By AddOn, Plugin, script?
Thanks,
Ilya
Http backend at Lua
Re: Http backend at Lua
Thanks!
Is it possible to make socket-server inside V-REP?
Is it possible to make socket-server inside V-REP?
Re: Http backend at Lua
Normally that should work, we haven't tried it though..
You will have to use a threaded child script for that, and surround your luaSocket code with following instructions:
Cheers
You will have to use a threaded child script for that, and surround your luaSocket code with following instructions:
Code: Select all
simSetThreadIsFree(true)
-- your code (do not access V-REP API functions from here!)
simSetThreadIsFree(false)