title: How to check server connection
body: <p>i want to check my server connection to know if its available or not to inform the user..</p>
  
  <p>so how to send a pkg or msg to the server (it's not SQL server; it's a server contains some serviecs) ...</p>
  
  <p>thnx in adcvance ..</p>