Hi I am new to VB can anyone point me in the right direction in writing an application to view the status of my other app on a server, so that I know when the apps get an error or disconect from the internet.
Anyone with an idea?
Printable View
Hi I am new to VB can anyone point me in the right direction in writing an application to view the status of my other app on a server, so that I know when the apps get an error or disconect from the internet.
Anyone with an idea?
What version of VB? For VB6 look up Winsock. For VB.NET look up the Sockets class. These are what you use to send information over the network/internet. As far as monitoring this other app, you could have that app log everything to a text file then have the remote app download this file. Or have the server constantly send back its state to the remote app. Those are a couple different ways to do it. But learn the basics of socket programming before worrying about that part.
Good advice from dane. One other thing to check on is that you have a public IP.
Yes I have a public IP coz my clients connect and get data from my server.
I am would like that the server program send me a message every now and then.
I am using visual basic 2008.
Ok. So now that I understand this socket connection thing, what else do I need to konw to make this work?