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

client:getpeername() but with websocket:client? #114

Open
gitdhar opened this issue Jun 20, 2019 · 0 comments
Open

client:getpeername() but with websocket:client? #114

gitdhar opened this issue Jun 20, 2019 · 0 comments

Comments

@gitdhar
Copy link

gitdhar commented Jun 20, 2019

Is there an equivalent of client:getpeername() but with websocket:client?
I have a monitoring program that periodically checks for the status of this websocket connection. If it is not connected, I reconnect.
For this, I was trying to use client::getpeername() and use the return string to determine if the socket is healthy or not.
Thanks

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

1 participant