Jump to content


Photo

Ping Dll


  • Please log in to reply
12 replies to this topic

#1 h0bbel

h0bbel

    GMC Member

  • New Member
  • 252 posts

Posted 16 July 2006 - 12:37 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.

(link removed)
(link removed)

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".

Edited by h0bbel, 19 September 2013 - 06:54 PM.

  • 0
The empty archive bug should be fixed on my site.
Please use the "report bug" button on my site to report bugs, makes things clearer.

#2 gml_josea

gml_josea

    Killing Noobs

  • New Member
  • 466 posts

Posted 16 July 2006 - 12:43 PM

Heh, I was looking for a DLL that could do this before. I'll check it.
  • 0

#3 ale870

ale870

    GMC Member

  • GMC Member
  • 56 posts
  • Version:GM:Studio

Posted 16 July 2006 - 12:49 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.

Posted Image
Go to DLL download

<{POST_SNAPBACK}>



Great! Very useful! I will download it immediately! :(
  • 0

#4 tsg1zzn

tsg1zzn

    GMC Member

  • New Member
  • 1163 posts
  • Version:Unknown

Posted 16 July 2006 - 06:06 PM

You can do this without a dll, just use execute_shell().
  • 0

#5 h0bbel

h0bbel

    GMC Member

  • New Member
  • 252 posts

Posted 16 July 2006 - 06:42 PM

You can do this without a dll, just use execute_shell().

<{POST_SNAPBACK}>


Yes, but you can't use the results in your game if you use execute_shell(). :(
  • 0
The empty archive bug should be fixed on my site.
Please use the "report bug" button on my site to report bugs, makes things clearer.

#6 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 16 July 2006 - 08:14 PM

Actually, you can :(
Have it output to a text file, and simply have it read it.
  • 0
Posted ImagePosted Image

#7 r33d33m33r

r33d33m33r

    GMC Member

  • New Member
  • 2 posts

Posted 16 July 2006 - 11:55 PM

Actually, you can :(
Have it output to a text file, and simply have it read it.

<{POST_SNAPBACK}>

Well the dll goes alot faster...
  • 0

#8 h0bbel

h0bbel

    GMC Member

  • New Member
  • 252 posts

Posted 09 April 2007 - 01:34 PM

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".

Edited by h0bbel, 09 April 2007 - 01:37 PM.

  • 0
The empty archive bug should be fixed on my site.
Please use the "report bug" button on my site to report bugs, makes things clearer.

#9 Kadet

Kadet

    GMC Member

  • New Member
  • 1 posts

Posted 16 March 2009 - 04:37 PM

Could somebody reupload it? :(

EDIT: Thank you for updating the server :P

Edited by Kadet, 17 March 2009 - 06:59 PM.

  • 0

#10 montiedragon

montiedragon

    GMC Member

  • GMC Member
  • 137 posts
  • Version:GM:Studio

Posted 24 June 2009 - 02:43 AM

Thanks! i've been looking for this for a while.
  • 0

#11 Revel

Revel

    ɹǝqɯǝɯ ɔɯƃ

  • GMC Member
  • 4935 posts
  • Version:GM8

Posted 16 September 2009 - 03:30 AM

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.
  • 0

#12 Recreate

Recreate

    Furry

  • GMC Member
  • 2992 posts
  • Version:GM:Studio

Posted 24 October 2009 - 07:48 PM

Does it let you specify the packet size?
  • 0

If the post that you are reading was created prior to 2011. For the safety of the general public, It is not to be regarded under any circumstances.
Please don't ask me to join your group at anything.


#13 VentylV

VentylV

    GMC Member

  • New Member
  • 2 posts

Posted 20 May 2010 - 05:43 PM

reupload please
  • 1