Websockets lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- mlody87 · 2017-07-21 12:25 Hi! Do you know where I find websockets examples for lazarus? Client/Server? I want to create http server but if I use simple http connection then I cant send data to client if he didnt send some get/post. I think right? ---------------------------------------------------------------------- molly · 2017-07-21 16:42 Quote from: mlody87 on July 21, 2017, 02:25:14 pmI want to create http server but if I use simple http connection then I cant send data to client if he didnt send some get/post. I think right? In that case, would it not be much easier to use a class/solution that already encapsulates a httpserver (instead of programming your own one using sockets) ? fcl-web package in FPC has examples. A detailed pdf document from Michael can be read here (PDF) ---------------------------------------------------------------------- codewar65 · 2017-07-21 20:51 Quote from: mlody87 on July 21, 2017, 02:25:14 pmHi! Do you know where I find websockets examples for lazarus? Client/Server? I want to create http server but if I use simple http connection then I cant send data to client if he didnt send some get/post. I think right? My project is successfully using http and websockets. You can see my messy code here: https://github.com/codewar65/VTX_ClientServer