custom broadcasts file can now contain domains.

custom broadcasts can now be put in the steam_settings folder.
This commit is contained in:
Mr_Goldberg 2019-05-08 15:43:25 -04:00
parent 106d4025bb
commit 147fc50be1
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
5 changed files with 53 additions and 47 deletions

View file

@ -121,7 +121,10 @@ class Networking {
Common_Message create_announce(bool request);
public:
Networking(CSteamID id, uint32 appid, uint16 port, std::vector<uint32_t> *custom_broadcasts);
//NOTE: for all functions ips/ports are passed/returned in host byte order
//ex: 127.0.0.1 should be passed as 0x7F000001
static std::set<uint32> resolve_ip(std::string dns);
Networking(CSteamID id, uint32 appid, uint16 port, std::set<uint32_t> *custom_broadcasts);
void addListenId(CSteamID id);
void setAppID(uint32 appid);
void Run();