Skip to content

Commit

Permalink
listen to both IPV6 and IPV4 incoming connections: binding to "::" im…
Browse files Browse the repository at this point in the history
…plies both protocols
  • Loading branch information
ernstkl committed Oct 9, 2024
1 parent 208066e commit 3ab0051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/server_settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct ServerSettings
{
bool enabled{true};
size_t port{1780};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
std::string doc_root{""};
std::string host{"<hostname>"};
inline static ImageCache image_cache;
Expand All @@ -52,7 +52,7 @@ struct ServerSettings
{
bool enabled{true};
size_t port{1705};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
};

struct Stream
Expand All @@ -64,7 +64,7 @@ struct ServerSettings
std::string sampleFormat{"48000:16:2"};
size_t streamChunkMs{20};
bool sendAudioToMutedClients{false};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
};

struct StreamingClient
Expand Down

0 comments on commit 3ab0051

Please sign in to comment.