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:
parent
3eb659a2bb
commit
4fcbbd24f7
3 changed files with 17 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue