Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

Need a little source code!

This topic is 6991 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
I am working o implementing a "ping" function into one of my programs. I've found several people who have claimed to have simplified it, but their codes have errors in them! The first one wasn't bad, I wrote all the code and line where the ping is actually executed says something like "ping.Ping(svrHost); but when I compile it says that "ping" is not a valid identifier or something to the effect that it wasn't declared earlier in the program. I don't know how to fix this, so if anyone can give me ping code that works or tell me how to fix the other code I would be thankful! I don't want a complex ping that finds the round trip time, just one that will verify whether a server is up and running or not. ANY HELP IS GREATLY APPRECIATED!!!!!!!

Share this post


Link to post
Share on other sites
Advertisement
I don't know how you build up your code, but sometimes the headers have to be in a certain order. Also make sure you declared everything in the right header.

You can show us some code, so we might help you some more.

------------------
Dance with me......

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!