diff --git a/examples/broadcast-server.js b/examples/chat/broadcast-server.js similarity index 100% rename from examples/broadcast-server.js rename to examples/chat/broadcast-server.js diff --git a/examples/build.sh b/examples/chat/build.sh similarity index 59% rename from examples/build.sh rename to examples/chat/build.sh index 5abed6d2..a6d24207 100644 --- a/examples/build.sh +++ b/examples/chat/build.sh @@ -5,10 +5,10 @@ # clang++ --std=c++11 --stdlib=libc++ \ - ../ixwebsocket/IXSocket.cpp \ - ../ixwebsocket/IXWebSocketTransport.cpp \ - ../ixwebsocket/IXSocketAppleSSL.cpp \ - ../ixwebsocket/IXWebSocket.cpp \ + ../../ixwebsocket/IXSocket.cpp \ + ../../ixwebsocket/IXWebSocketTransport.cpp \ + ../../ixwebsocket/IXSocketAppleSSL.cpp \ + ../../ixwebsocket/IXWebSocket.cpp \ cmd_websocket_chat.cpp \ -o cmd_websocket_chat \ -framework Security \ diff --git a/examples/cmd_websocket_chat.cpp b/examples/chat/cmd_websocket_chat.cpp similarity index 99% rename from examples/cmd_websocket_chat.cpp rename to examples/chat/cmd_websocket_chat.cpp index 098f4999..6af2da23 100644 --- a/examples/cmd_websocket_chat.cpp +++ b/examples/chat/cmd_websocket_chat.cpp @@ -12,7 +12,7 @@ #include #include #include -#include "../ixwebsocket/IXWebSocket.h" +#include "../../ixwebsocket/IXWebSocket.h" #include "nlohmann/json.hpp" diff --git a/examples/nlohmann/json.hpp b/examples/chat/nlohmann/json.hpp similarity index 100% rename from examples/nlohmann/json.hpp rename to examples/chat/nlohmann/json.hpp diff --git a/examples/package.json b/examples/chat/package.json similarity index 100% rename from examples/package.json rename to examples/chat/package.json