Commit 12de88b6 authored by aligungr's avatar aligungr

IPv6 support

parent fe37f24b
......@@ -14,10 +14,8 @@
namespace udp
{
UdpServer::UdpServer() : sockets{}
UdpServer::UdpServer() : sockets{Socket::CreateUdp4(), Socket::CreateUdp6()}
{
sockets.push_back(Socket::CreateUdp6());
sockets.push_back(Socket::CreateUdp4());
}
UdpServer::UdpServer(const std::string &address, uint16_t port) : sockets{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment