Lnet multi clients lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Jake012345 · 2020-05-05 12:30 Hello! I want to write a program what can communicate more clients than 1. (It is now just a chat program) I did it: 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   var server:array[1..20] of TLSocket;        i:integer;procedure TForm1.LTCPComponent1Accept(aSocket: TLSocket);begin  i:=i+1;  server[i].Accept(LTCPComponent1.☻☺☻.);  Form1.LTCPComponent1.SendMessage('Server is ready!',server[i]);  connected:=true;end;  what should I write in the Server.Accept();? or how can I do it? Thanks for answers! ---------------------------------------------------------------------- Jake012345 · 2020-05-07 08:09 SOLVE: 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 var socket:array[1..20] of TLSocket;  procedure TForm1.LTCPComponent1Accept(aSocket: TLSocket);begin  socket[i]:=aSocket;end; ---------------------------------------------------------------------- MarkMLl · 2020-05-07 08:18 Be warned that I don't know what the support state of the LNet package is. I use bits of it on occasion, but my understanding is that it was intended originally to be part of FPC's toolset rather than something used heavily by end users. MarkMLl