- A computer network is a set of computers sharing resources
- Communications are commonly established using cables or radio waves
- Network nodes are identified by a network address (ex: IP address)
- That can be accompanied by a more memorable hostname
- The Internet is a global system of interconnected computer networks, with:
- Local scopes, with private network addresses (ex: LANs, RFC 1918)
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
constexpr std::string_view kAsciiHexValue = | |
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // 000 | |
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // 015 | |
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // 031 | |
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // 047 | |
// 48:0 57:9 // 0:9 | |
"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x00\x00\x00\x00\x00\x00" // 063 | |
// 65:A 70:F // A:F | |
"\x00\x0A\x0B\x0C\x0D\x0E\x0F\x00\x00\x00\x00\x00\x00\x00\x00\x00" // 079 | |
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // 095 |
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
#include <iostream> | |
#include <chrono> | |
#include <ratio> | |
// m/s - SI derived unit | |
struct Speed | |
{ | |
long double value; | |
}; |