TCP connections by lNet or else lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- skaner1900 · 2011-03-25 15:47 When I connected 3 or more applications by lNet (TCP), all messages, recived by all application. How send message to only one receiver, and how recognize who send which message? ---------------------------------------------------------------------- Almindor · 2011-03-26 12:48 All events have aSocket: TLSocket parameter. So for example if you accept a new connection from a client, you get OnAccept(aSocket: TLSocket) called (if you assigned the event). You can store this aSocket to a list (or whatever you need) and you can also use aSocket.UserData to store your own information "to" a socket. When sending back, use TLTCP.SendMessage('what', Socket); where Socket is the TLSocket belonging the connected client you need. How to store and identify these sockets is up to you and your needs.