Add prototype Upload screen and a couple new icons. Some refactoring.

This commit is contained in:
Henrik Rydgård
2025-10-27 12:20:20 +01:00
parent f83d6ac4a9
commit c686d48268
24 changed files with 270 additions and 68 deletions
+4
View File
@@ -47,6 +47,10 @@ const char *DNSTypeAsString(DNSType type) {
}
}
std::string Connection::GetLocalIpAsString() const {
return fd_util::GetLocalIP(this->sock());
}
bool Connection::Resolve(const char *host, int port, DNSType type) {
if ((intptr_t)sock_ != -1) {
ERROR_LOG(Log::IO, "Resolve: Already have a socket");