1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:27:34 +00:00

IPv4: More work on the TCP implementation.

I can now establish a connection to my little test server on the host.
This commit is contained in:
Andreas Kling 2019-03-14 00:20:44 +01:00
parent 032d9d7065
commit 66d55f8e0c
9 changed files with 36 additions and 18 deletions

View file

@ -42,8 +42,6 @@ public:
void did_receive(ByteBuffer&&);
Lock& lock() { return m_lock; }
word source_port() const { return m_source_port; }
word destination_port() const { return m_destination_port; }
@ -78,7 +76,6 @@ private:
dword m_tcp_ack_number { 0 };
TCPState m_tcp_state { Disconnected };
Lock m_lock;
bool m_can_read { false };
};