Author Topic: Get Public IP within AutoLISP  (Read 210 times)

0 Members and 1 Guest are viewing this topic.

mailmaverick

  • Bull Frog
  • Posts: 426
Get Public IP within AutoLISP
« on: April 15, 2019, 06:17:30 AM »
Hi,

How to find Public IP within Autolisp ?

VovKa

  • Swamp Rat
  • Posts: 1087
  • Ukraine
Re: Get Public IP within AutoLISP
« Reply #1 on: April 15, 2019, 08:47:58 AM »
what is "Public IP"?

mailmaverick

  • Bull Frog
  • Posts: 426
Re: Get Public IP within AutoLISP
« Reply #2 on: April 15, 2019, 08:59:48 AM »
Go to Google and type 'whats my IP'. It will give you public IP by which is universally unique. The normal IP which we see in CMD -> Ipconfig is local IP which pertains to local network.

VovKa

  • Swamp Rat
  • Posts: 1087
  • Ukraine
Re: Get Public IP within AutoLISP
« Reply #3 on: April 15, 2019, 09:23:56 AM »
(vk_DownloadFile "https://api.myip.com/" nil)

mailmaverick

  • Bull Frog
  • Posts: 426
Re: Get Public IP within AutoLISP
« Reply #4 on: April 16, 2019, 10:49:14 AM »
Excellent Vovka !!!!