-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add usage example to README #4
Comments
It's one - :) Since the general intention was to have this run as a service, it does not print it's info out by default, however I can do some terminal auto detection to improve this, in the mean time use Example:
|
Ah, makes sense, I didn't see any error message about the args so I assumed you were using an argparsing library that could handle both Added your example here: #5 I don't know why but the |
This looks very cool! I'm just curious how to use the CLI interface and Web interface. (and is the web UI required / or is the CLI the main interaction method?)
First I tried passing the ping target using
--peers
with a hostnameHost 1: macOS Catalina (Go 1.15)
Host 2: Ubuntu 20.04 (Go 1.13
Then I tried using IPs instead of hostnames with no luck
Host 1
# on Host 1 ./sping --peers 192.168.1.177 2021/03/02 23:30:33 Listening on[::]:9523 2021/03/02 23:30:33 Cannot (TCP) handshake to 192.168.1.177: dial tcp 192.168.1.177:6924: connect: connection refused 2021/03/02 23:30:34 Cannot (TCP) handshake to 192.168.1.177: dial tcp 192.168.1.177:6924: connect: connection refused ...
Host 2
# on Host 2 ./sping --peers 192.168.1.41 2021/03/02 23:32:22 Listening on[::]:9523 2021/03/02 23:32:22 Cannot (TCP) handshake to 192.168.1.41: dial tcp 192.168.1.41:6924: connect: connection refused 2021/03/02 23:32:23 Cannot (TCP) handshake to 192.168.1.41: dial tcp 192.168.1.41:6924: connect: connection refused ...
Question
How can I get the
node1->node2 = ??ms
andnode2->node1 = ??ms
latency average between two hosts using the./sping
CLI or Web UI?The text was updated successfully, but these errors were encountered: