[SOLVED] getting local IP lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Hobbit1972 · 2023-01-07 12:31 Hi, using lNet I'm trying to get my local IP. According to what I found, that should work as follows: 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 aSocket: TLTCPComponent; ... myIP := aSocket.LocalAddress;myIP := aSocket.PeerAddress;  Compilers throws "no member Local|PeerAddress" :-? *ouch* The socket is provied as parameter: function OnConnect(aSocket... <=!) my bad!