Search found 2 matches

by Rudines
Sat Sep 14, 2024 6:03 pm
Forum: Coding Questions
Topic: The problem is with the IcmpSendEcho API function.
Replies: 5
Views: 1045

Re: The problem is with the IcmpSendEcho API function.

This code was taken from this forum and worked well on PB 6.04 (x64).
Now I will not use LONG type variables on 64-bit systems.
Thank you all very much!
by Rudines
Sat Sep 14, 2024 11:18 am
Forum: Coding Questions
Topic: The problem is with the IcmpSendEcho API function.
Replies: 5
Views: 1045

The problem is with the IcmpSendEcho API function.

Hi guys, help me solve the problem.
There is a program:


Procedure.w Ping(lngDAddress.l, paramTimeOut=1000, paramCountPing=4)
Define ECHO.ICMP_ECHO_REPLY
Define lngHPort.l, lngResult.l
Define *buffer, CountPing;
Define strMessage.s = "Ping, ping, ping!!!"
Define CountMillSec.w=0, ColGoodPing.w ...