1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

IPv4: More work on the TCP implementation.

Reading from the peer now kinda works. Something still going wrong with
sending packets but it's getting closer.
This commit is contained in:
Andreas Kling 2019-03-14 01:00:10 +01:00
parent 66d55f8e0c
commit be46f1bb1f
3 changed files with 30 additions and 21 deletions

View file

@ -49,7 +49,7 @@ int main(int argc, char** argv)
}
char buffer[BUFSIZ];
const char* msg = "Test message";
const char* msg = "Test message!\n";
rc = send(fd, (const char*)msg, strlen(msg), 0);
if (rc < 0) {