OSSIA
Open Scenario System for Interactive Application
host_info.hpp
1 #pragma once
2 #include <ossia/detail/optional.hpp>
4 
5 #include <string>
6 
7 namespace ossia::oscquery
8 {
9 
11 struct host_info
12 {
13  enum osc_transport
14  {
15  TCP,
16  UDP
17  };
18 
19  std::string name;
20 
21  std::optional<std::string> osc_ip;
22  std::optional<int> osc_port;
23  std::optional<osc_transport> osc_transport;
24 
25  std::optional<std::string> ws_ip;
26  std::optional<int> ws_port;
27 
28  ossia::string_map<bool> extensions;
29 };
30 
31 }
Represents the capabilities of an OSCQuery server.
Definition: host_info.hpp:12