Openspades: Server ping in serverlist

Created on 14 Dec 2017  路  5Comments  路  Source: yvt/openspades

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

enhancement

Most helpful comment

Implemented on the v0.2.0 branch.

All 5 comments

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

@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)

@feikname Thanks, I see how it works now:

echo -n HELLO | nc -u IPADDR PORT
HI

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

Implemented on the v0.2.0 branch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jappu picture Jappu  路  4Comments

roadapathy picture roadapathy  路  4Comments

Rafael450 picture Rafael450  路  6Comments

Nothin99 picture Nothin99  路  3Comments

parkerlreed picture parkerlreed  路  4Comments