feat: Sockets, user-mode networking, IRC client application

This commit is contained in:
2026-02-18 18:35:34 +01:00
parent bae28e8188
commit 52c3cacd9e
14 changed files with 1635 additions and 14 deletions
+3
View File
@@ -71,6 +71,9 @@ namespace Net::Tcp {
// Blocks until data is available or connection is closed.
int Receive(Connection* conn, uint8_t* buffer, uint16_t bufferSize);
// Non-blocking receive. Returns bytes read, 0 if no data available, or -1 on closed/error.
int ReceiveNonBlocking(Connection* conn, uint8_t* buffer, uint16_t bufferSize);
// Close a TCP connection gracefully
void Close(Connection* conn);