mirror of
https://github.com/Hizenberg469/Network-Programming-in-C.git
synced 2026-04-20 01:32:23 +03:00
simple example complete
This commit is contained in:
@@ -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