Reading and wiriting to socket in SSL mode (lNet) lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- mlody87 · 2017-02-06 21:09 Hi! I create server for multi clients connections. Without SSL everything is OK. On OnReceive function I receive aSocket: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TFormMain.LTCPComponentReceive(aSocket: TLSocket);var  s: string;begin  if aSocket.GetMessage(s) > 0 then begin    //save socket in some array or map - SomeArray[I]:=aSocket;  after this I can identify socket, read and write into socket in some array f.ex Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TLTCPComponent.SendMessage(SomeArray[I], Message);  but when I switch on SSL Mode this doesnt work Can you tell me how should I create SSL connction, read and write data in SSL connection mode for few clients sockets? I use lNet. I look into demos but there is example with sending to all connected clients but I would like to identify clients and read, send data for specify one. I realy need an example and help thx! ---------------------------------------------------------------------- benohb · 2017-02-07 01:42 Try example in net/examples/visual/tcpudp/ ---------------------------------------------------------------------- mlody87 · 2017-02-07 07:44 QuoteI look into demos but there is example with sending to all connected clients but I would like to identify clients and read, send data for specify one.