-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be more explicit about port used in ping
This prints out the port number with the IP address that's being used. It should make it more obvious that the `:port` option is working. It looks like this: ``` iex> ping "google.com" Press enter to stop Response from google.com (172.217.9.206:80): time=17.686ms Response from google.com (172.217.9.206:80): time=12.247ms iex> ping "google.com", port: 443 Press enter to stop Response from google.com (172.217.15.78:443): time=15.068ms ```
- Loading branch information
Showing
2 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters