mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00:00
20 lines
410 B
C++
20 lines
410 B
C++
|
|
#include <Kernel/LocalSocket.h>
|
||
|
|
#include <Kernel/UnixTypes.h>
|
||
|
|
#include <Kernel/Process.h>
|
||
|
|
|
||
|
|
RetainPtr<LocalSocket> LocalSocket::create(int type)
|
||
|
|
{
|
||
|
|
return adopt(*new LocalSocket(type));
|
||
|
|
}
|
||
|
|
|
||
|
|
LocalSocket::LocalSocket(int type)
|
||
|
|
: Socket(AF_LOCAL, type, 0)
|
||
|
|
{
|
||
|
|
kprintf("%s(%u) LocalSocket{%p} created with type=%u\n", current->name().characters(), current->pid(), type);
|
||
|
|
}
|
||
|
|
|
||
|
|
LocalSocket::~LocalSocket()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|