Added stdexcept

This commit is contained in:
AlexandreRouma 2023-03-30 19:55:54 +02:00 committed by GitHub
parent 365fe1930c
commit 2eb030dd83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
#include "net.h"
#include <string.h>
#include <codecvt>
#include <stdexcept>
#ifdef _WIN32
#define WOULD_BLOCK (WSAGetLastError() == WSAEWOULDBLOCK)
@ -403,4 +404,4 @@ namespace net {
std::shared_ptr<Socket> openudp(std::string rhost, int rport, std::string lhost, int lport) {
return openudp(Address(rhost, rport), Address(lhost, lport));
}
}
}