Commit Graph
15 Commits
Author SHA1 Message Date
cozis a272e8601e the TAP IP was the same as the microtcp instance, which wasn't right. Now the TAP is at 10.0.0.5 and the TCP at 10.0.0.4; fixed some bugs in the TCP state machine and made it so it always ACKs; fixed TCP checksum calculation 2023-05-20 21:50:47 +02:00
cozis ad65c26035 resolved some bug in the MUX 2023-05-20 02:14:47 +02:00
cozis 6a4f644cc5 moved include/microtcp.h to src/microtcp.h and fixed some mux bugs 2023-05-19 22:11:47 +02:00
cozis 464a1ee724 new I/O multiplexer api; http echo server example draft to test the mux api; the library is now released as an amalgamation; recv/send now return the error MICROTCP_ERRCODE_WOULDBLOCK in a similar way to the BSD socket api; moved tests/loop2.c to examples/echo_tcp.c 2023-05-19 20:24:13 +02:00
cozis 2a8741afe4 extended tcp checksum function to strings with an odd number of bytes 2023-05-18 00:51:13 +02:00
cozis 4de61f7cc7 a bunch of bug fixes (changed a bunch of cpu_to_net_u32 that should have been cpu_to_net_u16 and dropped the use of the __BYTE_ORDER__ symbol that no one was defining) 2023-05-17 23:20:14 +02:00
cozis df70d98661 cleanup of the TCP finite state machine 2023-05-17 19:21:17 +02:00
cozis a5b5cf4567 added useful log messages 2023-05-17 12:10:43 +02:00
cozis b63fb7df6c Bug fix in ip parser. The result wasn't converted to network byte order 2023-05-16 12:02:25 +02:00
cozis b259bb74db ported to windows 2023-05-16 00:21:04 +02:00
Francesco Cozzuto 43ee04a2db wip 2023-04-21 09:46:44 +02:00
Francesco Cozzuto 092ba2d1ad better TCP and started using libtuntap 2023-03-25 20:18:14 +01:00
Francesco Cozzuto 57c2f61ea3 fixed bug in the README's code snippet 2023-03-20 14:50:49 +01:00
Francesco Cozzuto b1b235a09f new readme 2023-03-20 14:47:24 +01:00
Francesco Cozzuto 00e68532d1 first commit 2023-03-20 09:43:11 +01:00