1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Kernel: Support binding to INADDR_ANY (all IPs)

This commit is contained in:
Conrad Pankoff 2019-08-09 12:38:56 +10:00 committed by Andreas Kling
parent 3eb659a2bb
commit 4fcbbd24f7
3 changed files with 17 additions and 8 deletions

View file

@ -95,9 +95,6 @@ KResult IPv4Socket::listen(int backlog)
if (rc < 0)
return KResult(-EADDRINUSE);
if (m_local_address.to_u32() == 0)
return KResult(-EADDRINUSE);
set_backlog(backlog);
kprintf("IPv4Socket{%p} listening with backlog=%d\n", this, backlog);