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

This commit is contained in:
Henrik Rydgård committed 2025-10-27 12:20:20 +01:00
1 parent f83d6ac4a9
commit c686d48268
24 files changed
+270 -68

No files matched your search

+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");