mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibCore: Remove CSocket's bind() and listen().
We're going to be using dedicated server socket classes instead. This was only implemented for CLocalSocket, and clients have been switched over to using CLocalServer.
This commit is contained in:
parent
fe45f5a6d2
commit
e7957db173
6 changed files with 0 additions and 28 deletions
|
@ -131,13 +131,6 @@ bool CSocket::send(const ByteBuffer& data)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CSocket::listen()
|
||||
{
|
||||
int rc = ::listen(fd(), 5);
|
||||
set_error(errno);
|
||||
return rc == 0;
|
||||
}
|
||||
|
||||
void CSocket::did_update_fd(int fd)
|
||||
{
|
||||
if (fd < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue