4. Building and Running

Like the core server, this needs libvws built with libuv support, and builds against it and the examples' libvwsx. Start the server, then drive it with the basic client of Chapter 3, A Basic Client:

$ ./server-ws
server-ws: echo server on ws://127.0.0.1:8181/websocket (Ctrl-C to stop)

Each message the client sends is echoed back unchanged. Press Ctrl-C to stop the server.