added net module

This commit is contained in:
2025-06-27 15:19:25 +02:00
parent acd30afe6f
commit cd61ac7f00
39 changed files with 4599 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "matador/net/address_resolver.hpp"
namespace matador {
namespace detail {
template<>
int determine_socktype<tcp>()
{
return SOCK_STREAM;
}
template<>
int determine_socktype<udp>()
{
return SOCK_DGRAM;
}
}
}