fork download
  1. #include <iostream>
  2. #include <netinet/in.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. auto type = ntohl(3959619584);
  8. cout << "type: " << type << endl;
  9.  
  10. auto subtype = ntohl(16777216);
  11. cout << "subtype: " << subtype << endl;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
type: 1004
subtype: 1