如何检查我的WebService是否有连接? [英] how to check if there is connection to my WebService ?

查看:86
本文介绍了如何检查我的WebService是否有连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi

推荐答案

您好,

从您的手机ping Web服务托管计算机。如果ping成功,则连接稳定,否则失败。如果您想要频繁的值,那么在您的移动应用程序中使用计时器并在特定时间间隔内ping Web服务器计算机。

Ping the web service hosted machine from your mobile. If ping success then connection is stable else failed. If u want the value in frequent then use a timer in ur mobile application and ping the web server machine in particular interval.


这篇关于如何检查我的WebService是否有连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆