Added history of recent SRT hosts

Saving known hosts in settings and validating ip and port in SRT connector for source
This commit is contained in:
Bruno Herbelin
2022-09-08 20:36:58 +02:00
parent dd92f2dccb
commit 140ce358fa
4 changed files with 172 additions and 32 deletions

View File

@@ -35,7 +35,7 @@ std::list<std::string> splitted(const std::string& str, char delim);
std::string joinned(std::list<std::string> strlist, char separator = ' ');
// returns true if the string
bool is_a_number(const std::string& str, int *val = nullptr);
bool is_a_number(const std::string& str, int *val);
// find common parts in a list of strings
std::string common_prefix(const std::list<std::string> &allStrings);