1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +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

@ -95,8 +95,8 @@ bool Scheduler::pick_next()
}
if (process.state() == Process::BlockedConnect) {
ASSERT(process.m_blocked_connecting_socket);
if (process.m_blocked_connecting_socket->is_connected())
ASSERT(process.m_blocked_socket);
if (process.m_blocked_socket->is_connected())
process.unblock();
return true;
}