PacketSender icon indicating copy to clipboard operation
PacketSender copied to clipboard

provide interface GUID instead of IP address

Open lazna opened this issue 1 year ago • 1 comments

Command Line?

Describe your idea

when scripting packetsender on windows, dig IP address of interface its not trivial in batch script, parsing ipconfig output may depend on OS language settings, etc... What if parameter -B will accept interface GUID (aside of IP address) too, and packetsender will use only (or first) IP address assigned to interface in case GUID only is provided? It must be much easier to dig IP address on C++ level, than on batch script

lazna avatar Jun 14 '24 15:06 lazna

One more argument discovered today:

Reading IP address for '-B' argument in script from registry because 'ipconfig' is language dependent. Today found that APIPA could not exist in registry, so I have to finding other ways to reliable reading of IP address. This made scripting packetsender on windows more complicated.

lazna avatar Oct 20 '24 18:10 lazna