TheQuinbox,

@FluidEscence You know PureBasic, try writing a little watchdog using this. Procedure ping(address.l, timeout=5000)
Protected HFile = IcmpCreateFile_()
Protected Res
Protected *Out.ICMP_ECHO_REPLY = AllocateMemory(SizeOf(ICMP_ECHO_REPLY) + 32)
If IcmpSendEcho_(HFile, Address, "@Echo this stuff", 32, 0, *Out, MemorySize(*Out), Timeout) And *Out\Status = 0
Res = *Out\RoundTripTime
Else
Res = -1
EndIf
IcmpCloseHandle_(HFile)
FreeMemory(*Out)
ProcedureReturn Res
EndProcedure

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • cisconetworking
  • Leos
  • provamag3
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • anitta
  • lostlight
  • All magazines