Implement UDP recvfrom support

This commit is contained in:
momo5502
2024-11-09 10:02:28 +01:00
parent a63ae4e782
commit 371665290a
3 changed files with 92 additions and 0 deletions

View File

@@ -40,6 +40,12 @@ public:
return value;
}
template <typename T>
T read_memory(const void* address)
{
return this->read_memory<T>(reinterpret_cast<uint64_t>(address));
}
template <typename T>
void write_memory(const uint64_t address, const T& value)
{