Server.ping

Server.ping()[source]

Simple function used to check if a remote server can be reached.

Returns

int – Always returns 1, since the ping is considered a success if the function can be reached from the client.

Notes

Should be used together with an instance of compas.rpc.Server.