mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-24 17:10:11 +01:00
Added stdexcept
This commit is contained in:
parent
365fe1930c
commit
2eb030dd83
@ -1,6 +1,7 @@
|
|||||||
#include "net.h"
|
#include "net.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define WOULD_BLOCK (WSAGetLastError() == WSAEWOULDBLOCK)
|
#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) {
|
std::shared_ptr<Socket> openudp(std::string rhost, int rport, std::string lhost, int lport) {
|
||||||
return openudp(Address(rhost, rport), Address(lhost, lport));
|
return openudp(Address(rhost, rport), Address(lhost, lport));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user