【发布时间】:2013-04-14 16:31:51
【问题描述】:
我使用 Web 服务在 c# 客户端和 php 服务器之间交换数据以检查数据更改。但我必须请求继续托管,但如果我这样做,服务器将超载。
WebClient cGet = new WebClient();
cGet.DownloadString(loptinh.domain+"postandroid.php?res=00000tt" + loptinh.id);
它有没有像在 android 或其他中使用 GCM 的方法?
【问题讨论】:
-
But i must request continus to hosting为什么? -
GCM == Google 云消息传递 developer.android.com/training/cloudsync/gcm.html
-
您的 C# 客户端是移动设备吗?
-
@walther:因为我会将消息从手机发送到网络并保存到数据库。桌面将不断检查以查找最新消息
-
@DavidTansey:我正在使用它,但我想在 windows 上做同样的事情不,我在 windows 中使用应用程序
标签: c# request continuous