We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c960d9 commit 9475124Copy full SHA for 9475124
src/WebSocket.cpp
@@ -115,11 +115,11 @@ namespace WebSocket
115
116
} // namespace
117
118
- void initialize()
+ void initialize(const String &hostname)
119
{
120
m_socket.begin();
121
m_socket.onEvent(onEvent);
122
- MDNS.begin("fastledhub");
+ MDNS.begin(hostname);
123
MDNS.addService("http", "tcp", 80);
124
MDNS.addService("ws", "tcp", 81);
125
}
0 commit comments