Hello Isira, and thanks for your interest in contributing to Wine! If I remember correctly, ping.exe was supposed to call IcmpSendEcho, but no one has written the code yet. Can you rewrite your patch using IcmpSendEcho instead of calling the external Unix command?
-Alex
On 16/02/18 23:42, Alex Henrie wrote:
Hello Isira, and thanks for your interest in contributing to Wine! If I remember correctly, ping.exe was supposed to call IcmpSendEcho, but no one has written the code yet. Can you rewrite your patch using IcmpSendEcho instead of calling the external Unix command?
-Alex
Yes, in general we want to call into Windows APIs where possible, leaving the Windows -> host translation to the lowest level.
On 17/02/18 06:14, Isira Seneviratne wrote:
char ping[] = {'/','u','s','r','/','b','i','n','/','p','i','n','g', 0, 0};
My system (Gentoo) has ping in /bin/ping