summaryrefslogtreecommitdiff
path: root/network.c
AgeCommit message (Collapse)Author
2022-08-03network: Add some more logging output for the errors in `create_socket()`mrb0nk500
2022-08-03network: Save the address string made by `addr_to_str()` to `addr_str`mrb0nk500
in `create_socket()`
2022-08-02network: Add `get_sock_addr()`mrb0nk500
Much like with `create_socket()`, this just makes it easier to get the sockaddr from a socket descriptor, without having to duplicate everything over, and over again.
2022-08-02network: Add `create_socket()`mrb0nk500
This function makes makes it easier to create sockets, without having to duplicate code.
2022-08-02network: Add `addr_to_str()`mrb0nk500
This function takes a `sockaddr`, along with the length of the `sockaddr`, and creates a string from that address.
2021-06-12Start work on the networking code.mrb0nk500