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

Server ping in serverlist #685

Closed
NotAFile opened this issue Dec 14, 2017 · 5 comments
Closed

Server ping in serverlist #685

NotAFile opened this issue Dec 14, 2017 · 5 comments
Labels
enhancement request/proposal to add a new feature

Comments

@NotAFile
Copy link
Contributor

Servers respond to the "HELLO" string with "HI", this can be used to get the Ping of a server.

@feikname feikname added the enhancement request/proposal to add a new feature label Dec 14, 2017
@yvt
Copy link
Owner

yvt commented Dec 20, 2017

Is it already implemented on the server? If so, can you point me to the documentation?

@feikname
Copy link
Collaborator

feikname commented Dec 20, 2017

@yvt It's not exactly docs, but: https://github.com/piqueserver/piqueserver/blob/eb6ef5acf14bde3d5f554881a929f5361cc2eacc/piqueserver/server.py#L570-574

edit: To answer your question, yes, it's already implemented in all server projects. (piqueserver, PySnip and pyspades)

@yvt
Copy link
Owner

yvt commented Dec 20, 2017

@feikname Thanks, I see how it works now:

echo -n HELLO | nc -u IPADDR PORT
HI

@NotAFile
Copy link
Contributor Author

As far as I can tell, this was implemented back when the master server was first added.

yvt added a commit that referenced this issue Dec 27, 2017
@yvt
Copy link
Owner

yvt commented Dec 27, 2017

Implemented on the v0.2.0 branch.

@yvt yvt closed this as completed Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement request/proposal to add a new feature
Projects
None yet
Development

No branches or pull requests

3 participants