fix hermes lite enumeration issues and fix copy paste fail in network library

This commit is contained in:
AlexandreRouma
2024-01-25 22:27:59 +01:00
parent 68bf2fc16f
commit 255988ee46
2 changed files with 7 additions and 4 deletions

View File

@ -390,7 +390,7 @@ namespace net {
#endif
if (setsockopt(s, SOL_SOCKET, SO_BROADCAST, &enable, sizeof(int)) < 0) {
closeSocket(s);
throw std::runtime_error("Could not configure socket");
throw std::runtime_error("Could not enable broadcast on socket");
return NULL;
}