Das is so ne sache... ich hab das so gelöst (Kannst gerne n verweis an mich in deinem prog hinterlassen und ich will 40% der Einnahmen

)
Wird im Client eingesetzt und mit übertragen. Außerdem brauchst du ein TIdHTTP
CurrIP:=copy(idhttp1.get('http://checkip.dyndns.org'),pos(':', idhttp1.get('http://checkip.dyndns.org'))+1,length(idhttp1.get('http://checkip.dyndns.org')));