Serenity Operating System
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Kernel/Net: make setsockopt pretend it understands SO_KEEPALIVE.

authored by

Xiao NuoFu and committed by
Andreas Kling
7fd77e9f 5fe521c5

+3
+3
Kernel/Net/Socket.cpp
··· 125 125 m_bound_interface = device; 126 126 return KSuccess; 127 127 } 128 + case SO_KEEPALIVE: 129 + // FIXME: Obviously, this is not a real keepalive. 130 + return KSuccess; 128 131 default: 129 132 dbg() << "setsockopt(" << option << ") at SOL_SOCKET not implemented."; 130 133 return KResult(-ENOPROTOOPT);