I was making a thing with tcp via the internet card, but I ran into a thing. How do you check if the server closed the connection? I think I can pcall the internet component's finishConnect method to check if the connection has been closed, but that feels hacky and unreliable.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I was making a thing with tcp via the internet card, but I ran into a thing. How do you check if the server closed the connection? I think I can pcall the internet component's finishConnect method to check if the connection has been closed, but that feels hacky and unreliable.
Link to post
Share on other sites