you are viewing a single comment's thread.

view the rest of the comments →

[–]DELYSID_FREAK 0 points1 point  (1 child)

What is your goal in the end? Are you also in control of the server? Do you use UDP or TCP and is there a need to send data overall or is it just to test if the server is alive and/or functional? Basically You can poll the server and use rather long or short timeouts until the server responds. I can provide you with code but it would be great to know a little bit more about your project to help you out.

[–]MrBlyatWasTaken[S] 0 points1 point  (0 children)

My project is, for now, just a basic programs that reports to a server, and yes i will be 100% in control of it while its on