fork(74) download
  1. #include <stdio.h>
  2. #include <sys/socket.h>
  3. #include <netinet/in.h>
  4. #include <arpa/inet.h>
  5.  
  6. int main(void) {
  7. int value=570534080;
  8. struct in_addr addr = {value};
  9. printf( "%s", inet_ntoa( addr ) );
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
192.168.1.34