Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket issue on TCP connection #81

Open
webandbusiness opened this issue Aug 12, 2018 · 2 comments
Open

Websocket issue on TCP connection #81

webandbusiness opened this issue Aug 12, 2018 · 2 comments

Comments

@webandbusiness
Copy link

I tryied in vain this sample
http://raspi.monaserver.ovh/MonaClients/IndustrialComputing/
The monaserver just close the connection on my VPS CentOs7 installation
What to do

@webandbusiness
Copy link
Author

1-I found the problem, you can only run it on root application, Why???
2-How can i implement a simple TCP server with monaserver?
Regards

@thomasjammet
Copy link
Contributor

1- If you want to use the port 80 you have to run as root, otherwise you can change the port in the MonaServer.ini configuration file. See the following documentation :
http://www.monaserver.ovh/installation.html#configurations

2- There is an example of TCPServer implementation in our documentation there : http://www.monaserver.ovh/serversocket.html#tcp-server
It is really simple, you will find all our lua API manual at http://www.monaserver.ovh/api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants