Commit Graph

8 Commits

Author SHA1 Message Date
Ruihan Li 698e748150 Set socket errors after connecting 2024-04-25 18:40:08 +08:00
Ruihan Li 27c5c27fd0 Implement non-blocking `connect` 2024-04-25 18:40:08 +08:00
Ruihan Li 9211061181 Add proper IO events for unbound sockets 2024-04-25 18:40:08 +08:00
Ruihan Li 8628543067 Implement `(un)register_observer` for TCP/UDP 2024-04-25 18:40:08 +08:00
Ruihan Li 92a9f5616e Fix error codes in `bind`, `listen`, and `accept` 2024-04-12 14:39:54 +08:00
Ruihan Li 00cfdf86c8 Fix error codes in TCP `sendto` and `recvfrom` 2024-04-12 14:39:54 +08:00
Ruihan Li 51080c1925 Fix error codes in `get{sock,peer}name` 2024-04-12 14:39:54 +08:00
Ruihan Li b53980da25 Add a framework for regression tests 2024-04-12 14:39:54 +08:00