-->
Page 1 of 1

What does this error mean?

PostPosted: Sat Dec 19, 2015 11:04 am
by Trickuncle
Although I seem to have working code, every single time I send code to the ESP8266 module, this error always shows up:
"init.lua:16: only one tcp server allowed"
And line 16 looks like this:
Code: Select all srv=net.createServer(net.TCP,3600)

There are no other lines in my code creating servers...
Can anyone explain what this means?
Thanks!

Re: What does this error mean?

PostPosted: Sat Dec 19, 2015 11:28 am
by xtal
For me it means I didn,t reset before doing dofile("xxx.xx") again or you are reissuing the server code again before closing it. You're trying to run another server while previous server is running...

Re: What does this error mean?

PostPosted: Sun Dec 20, 2015 3:10 pm
by Trickuncle
Thanks! I'll try to figure out how to stop the server before uploading new code.