|
d9cc37896f
|
Add the empty lines at the end of the sources so clang won't whine and compile. :)
|
2024-03-25 00:56:42 +04:00 |
|
|
58645aae4b
|
In order to support both IPv4 and IPv6 store a type struct sockaddr. Also remove specifying af_family as an arg. It will be determined using a getaddrinfo() func.
|
2024-03-24 19:38:00 +04:00 |
|
|
b9b82a0e26
|
Return a number of bytes read or sent.
|
2024-03-24 17:55:39 +04:00 |
|
|
6990664f2f
|
In net_send() remove a const modifier from buf_len. In net_recv() a const modifier was added to a pointer to buf.
|
2024-03-24 16:50:49 +04:00 |
|
|
ba3a87ab4f
|
An unneeded include of sys/socket.h was removed. It is implicitely included in netinet/in.h.
|
2024-03-24 16:41:22 +04:00 |
|
|
e5c6f23cfb
|
A buffer was removed from a struct net_t. Use external buffer for data receiving. net_sendto -> net_send and net_recvfrom -> net_recv.
|
2024-03-24 16:31:10 +04:00 |
|
|
e6c94b64a0
|
First try to implement a network module.
|
2024-03-22 03:50:58 +04:00 |
|