websrv: re-init connection forever
This commit is contained in:
parent
7b7e5bde66
commit
6872d9d008
|
@ -64,7 +64,7 @@ VAR
|
||||||
|
|
||||||
long cog, random_value
|
long cog, random_value
|
||||||
|
|
||||||
PUB main | i
|
PUB main
|
||||||
|
|
||||||
rr_start
|
rr_start
|
||||||
|
|
||||||
|
@ -85,18 +85,11 @@ PUB main | i
|
||||||
getcfg
|
getcfg
|
||||||
ios.print(@strMsgEnd)
|
ios.print(@strMsgEnd)
|
||||||
|
|
||||||
i := 0
|
|
||||||
repeat
|
repeat
|
||||||
if ios.keystat > 0
|
if ios.keystat > 0
|
||||||
|
ios.key
|
||||||
quit
|
quit
|
||||||
if (handleidx := ios.lan_listen(handleidx,80)) == $FF 'Empfangs-Socket auf Port 80 öffnen
|
if (handleidx := ios.lan_listen(handleidx,80)) <> $FF 'Empfangs-Socket auf Port 80 öffnen
|
||||||
if i > 20
|
|
||||||
ios.print(@strErrorNoSock)
|
|
||||||
quit
|
|
||||||
else
|
|
||||||
i++
|
|
||||||
next
|
|
||||||
i := 0
|
|
||||||
if ios.lan_isconnected(handleidx) 'bei bestehender Verbindung...
|
if ios.lan_isconnected(handleidx) 'bei bestehender Verbindung...
|
||||||
if webThread == 0
|
if webThread == 0
|
||||||
ios.lan_txflush(handleidx)
|
ios.lan_txflush(handleidx)
|
||||||
|
|
Loading…
Reference in New Issue