Add TCP support #12

Merged
Persson-dev merged 12 commits from tcp into main 2025-03-03 10:04:42 +00:00
Showing only changes of commit afc4189450 - Show all commits

View File

@@ -100,8 +100,8 @@ DataBuffer TcpSocket::Read(std::size_t a_Amount) {
int err = errno; int err = errno;
#endif #endif
if (err == WOULDBLOCK) { if (err == WOULDBLOCK) {
m_Status = Status::Error; // we are in non blocking mode and nothing is available
throw SocketError("Error while reading"); return {};
} }
Disconnect(); Disconnect();