11-15-2019, 11:06 AM
(This post was last modified: 11-15-2019, 11:29 AM by processeur_fou.)
Thank you Kutzu for your answer.
Yes it is on the same PC: this computer has an Ethernet card and a Wifi Dungle.
As usual, when I send data using multicast UDP, I must indicate the UDP address and port and indicate the Interface IP used. it can be the Wifi card or the Ethernet card.
If I unplug only one of the 2 IP interfaces I have, I continue to work without the need of 127.0.0.1
but if I unplug the Wifi dungle, and unplug the Ethernet cable, when I use the same Source compiled with Delphi 2010 and Delphi XE10, only the software compiled with Delphi 2010 can find 127.0.0.1
And I can say that without any IP interface, Using 127.0.0.1 let me send video stream to VLC, I use it since 10 years without problem. (started my software in 2009 with Delphi7, upgrade to Delphi 2010 and in 2019, upgrade to Delphi XE10. As you, I have always one IP interface active on my PC, so I just discovered 2 days ago that my software doesn't continue to send to VLC if I have no IP interface. After search I found this strange result : the difference if I compile using Delphi2010 or if I compile using DelphiXE10
Anyway, nothing to do with UDP, I can only say that, on the same PC (Win10_64) without LAN interface active, GStack.LocalAddresses.Count gives 1 compiled with Delphi 2010 and says 0 compiled with DelphiXE10
It the reason why I suppose I have miss something in the Delphi XE10 setup.
Thanks also for the idea about Microsoft Network Loopback adapter, I will try if it can be temporary a solution, but , if I can, I don't want to ask to users (more than 2500 people now are using my free software) to add or install something else in case they have no LAN interface.
Yes it is on the same PC: this computer has an Ethernet card and a Wifi Dungle.
As usual, when I send data using multicast UDP, I must indicate the UDP address and port and indicate the Interface IP used. it can be the Wifi card or the Ethernet card.
If I unplug only one of the 2 IP interfaces I have, I continue to work without the need of 127.0.0.1
but if I unplug the Wifi dungle, and unplug the Ethernet cable, when I use the same Source compiled with Delphi 2010 and Delphi XE10, only the software compiled with Delphi 2010 can find 127.0.0.1
And I can say that without any IP interface, Using 127.0.0.1 let me send video stream to VLC, I use it since 10 years without problem. (started my software in 2009 with Delphi7, upgrade to Delphi 2010 and in 2019, upgrade to Delphi XE10. As you, I have always one IP interface active on my PC, so I just discovered 2 days ago that my software doesn't continue to send to VLC if I have no IP interface. After search I found this strange result : the difference if I compile using Delphi2010 or if I compile using DelphiXE10
Anyway, nothing to do with UDP, I can only say that, on the same PC (Win10_64) without LAN interface active, GStack.LocalAddresses.Count gives 1 compiled with Delphi 2010 and says 0 compiled with DelphiXE10
It the reason why I suppose I have miss something in the Delphi XE10 setup.
Thanks also for the idea about Microsoft Network Loopback adapter, I will try if it can be temporary a solution, but , if I can, I don't want to ask to users (more than 2500 people now are using my free software) to add or install something else in case they have no LAN interface.

