mirror of
https://github.com/Hizenberg469/Network-Programming-in-C.git
synced 2026-04-20 01:32:23 +03:00
18 lines
441 B
Markdown
18 lines
441 B
Markdown
# 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 *` |