mirror of
https://github.com/Hizenberg469/Network-Programming-in-C.git
synced 2026-10-30 21:13:38 +02:00
simple example complete
This commit is contained in:
1 parent
44cd0a225a
commit
90793a38cf
7 files changed
+411
-2
No files matched your search
@@ -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 :
|
||||
|
||||
|
||||
Reference in new issue
Block a user