This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Tcp script event loop
#6
Thanks for this, this is what i am after although after a short amount of time it stops reading, i don't get any error in the log, so i insert
log( _, sstat, cstat)  after _, sstat, cstat = socket.selectfds(10, sfd, cfd)

when arg 1 is nill, after this i don't receive any command from the client:receive() until i stop and start the script etc
see attached log screenshot

Reply


Messages In This Thread
Tcp script event loop - by benanderson_475 - 21.09.2020, 04:58
RE: Tcp script event loop - by admin - 21.09.2020, 07:24
RE: Tcp script event loop - by admin - 28.09.2020, 06:31
RE: Tcp script event loop - by benanderson_475 - 29.09.2020, 04:49
RE: Tcp script event loop - by admin - 29.09.2020, 07:48

Forum Jump: