Create a server socket wirh synapse lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- berghem · 2020-12-16 07:42 Hi all In my application I have to receve a HTTP Post from another IP. The server works because if I sniff the network traffic I see the data but now i don't know witch see the data from my application. I tryed to capture the payload in a string, but this is not correct. Which is the best solution for parse the raw data? Code: [Select]procedure TfrmMain.StartServer; var   s : string; begin    posock := TTCPBlockSocket.Create;   with posock do   begin     CreateSocket;     SetLinger(True,10000);     Bind('0.0.0.0', '1907');     listen;     repeat       if CanRead(10000) then       begin         ClientSock := accept;         if LastError = 0 then         begin            s := RecvPacket(3000);            ShowMessage(s);         end;       end;     until pbStopServer;   end; end;