simple example complete

This commit is contained in:
2024-09-08 23:57:00 +05:30
parent 44cd0a225a
commit 90793a38cf
7 changed files with 411 additions and 2 deletions

View File

@@ -79,3 +79,13 @@ Below are the system calls that can be used to access network functionality.
freeaddrinfo(servinfo); // free the linked list
```
* **socket() :**
* Purpose :
Assign a *file descriptor* for accessing OS resources to access network. Defines the type connection it would make to other host.
* Function Prototype :