Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Networking/MulticastDiscovery/MulticastResponder.h')
-rw-r--r--src/Networking/MulticastDiscovery/MulticastResponder.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Networking/MulticastDiscovery/MulticastResponder.h b/src/Networking/MulticastDiscovery/MulticastResponder.h
new file mode 100644
index 00000000..2d57581e
--- /dev/null
+++ b/src/Networking/MulticastDiscovery/MulticastResponder.h
@@ -0,0 +1,27 @@
+/*
+ * MulricastResponder.h
+ *
+ * Created on: 12 Jul 2022
+ * Author: David
+ */
+
+#ifndef SRC_NETWORKING_MULTICASTRESPONDER_H_
+#define SRC_NETWORKING_MULTICASTRESPONDER_H_
+
+#include <RepRapFirmware.h>
+#include <NetworkDefs.h>
+
+#if SUPPORT_MULTICAST_DISCOVERY
+
+namespace MulticastResponder
+{
+ void Init() noexcept;
+ void Spin() noexcept;
+ void Start(TcpPort port) noexcept;
+ void Stop() noexcept;
+ void Diagnostics(MessageType mtype) noexcept;
+}
+
+#endif
+
+#endif /* SRC_NETWORKING_MULTICASTRESPONDER_H_ */