Help - Search - Members - Calendar
Full Version: Ping Dll
Game Maker Community > Working with Game Maker > Extending Game Maker > DLLs [DLL]
h0bbel
I've made a DLL for gamemaker that can ping to a certain IP address or hostname.

It can get the RTT (ping time in miliseconds) and the TTL (time to live) values.

I hope this is usefull for anyone.


Go to DLL download

Update
This is a small update but I fixed the TTL error in the example.
Now you see the real TTL and not just "3".
gml_josea
Heh, I was looking for a DLL that could do this before. I'll check it.
ale870
QUOTE (h0bbel @ Jul 16 2006, 02:26 PM)
I've made a DLL for gamemaker that can ping to a certain IP address or hostname.

It can get the RTT (ping time in miliseconds) and the TTL (time to live) values.

I hope this is usefull for anyone.


Go to DLL download
*



Great! Very useful! I will download it immediately! lmaosmiley.gif
tsg1zzn
You can do this without a dll, just use execute_shell().
h0bbel
QUOTE (tsg1zzn @ Jul 16 2006, 05:55 PM)
You can do this without a dll, just use execute_shell().
*


Yes, but you can't use the results in your game if you use execute_shell(). wink1.gif
tangibleLime
Actually, you can wink1.gif
Have it output to a text file, and simply have it read it.
r33d33m33r
QUOTE (Roach @ Jul 16 2006, 09:03 PM)
Actually, you can wink1.gif
Have it output to a text file, and simply have it read it.
*

Well the dll goes alot faster...
h0bbel
Update
This is a small update but I fixed the TTL error in the example.
Now you see the real TTL and not just "3".
Kadet
Could somebody reupload it? smile.gif

EDIT: Thank you for updating the server wink1.gif
montiedragon
Thanks! i've been looking for this for a while.
Revel
Takes ages to ping, and if Ping_Ping fails, you need to call
Ping_Init again before another Ping_Ping will work.

Please tell me if this error is on my end, but I'm pretty sure its the DLL.
Recreate
Does it let you specify the packet size?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.