Files
Network-Programming-in-C/System_Calls
2024-09-01 17:37:42 +05:30
..
2024-09-01 17:37:42 +05:30

System Calls :

Below are the system calls that can be used to access network functionality.

  • getaddrinfo() :

    • Function prototye

      int getaddrinfo(const char *node,  // e.g. "www.example.com" or IP
                      const char *service, // e.g. "http" or port number
                      const struct addrinfo *hints,
                      struct addrinfo **res);
      
      1. node :

        Type : const char *