I created a webservice in RDB with .Net.I able to transfer data from iphone to mysql and it returns the data.

我用。net在RDB中创建了一个webservice。我能够将数据从iphone传输到mysql,然后返回数据。

But i need to transfer data from RDB to iphone whenever i need (i am strucked by the ip address of iphone which one is dynamic to connect the device from a RDB)

但我需要随时将数据从RDB传输到iphone(我被iphone的ip地址困扰,这个ip地址是动态的,可以从RDB连接设备)

Please tell me how i will do it otherwise tell is any other way.

请告诉我该怎么做,否则我就告诉你。

Thanks in Advance

谢谢提前

2 个解决方案

#1


0

Pushing information to the phone probably will involve some socket programming on the iphone, i havent tried doing this so i cant be of much help there, another alternative is using a pull model, where you can have the iphone poll your webservice every so often to check for changes, that way you can also ensure the app is up to date with the database, i used this model to implement a small chat service on the iphone, it works pretty well..

推动信息电话可能会涉及一些iphone上的套接字编程,我没尝试过这样做,所以我不能太多的帮助,另一个选择是使用拉模型,在那里你可以时常有iphone调查你的网络服务来检查变更,这样你也可以确保应用程序与数据库是最新的,我用这个模型在iphone上实现一个小的聊天服务,它工作得很好。

更多相关文章

  1. Mysql数据库存储引擎
  2. 装机建项目vs2017和mysql5.7下建项目用EF建实体模型的过程..
  3. [置顶] pt-table-checksum数据一致性校验工具和pt-table-
  4. Java之连接数据库mysql
  5. MySQL数据库8(二十)视图
  6. 填充数据库的返回值
  7. MySQL官网示例数据库emploees分析使用
  8. Web分页显示数据
  9. mysql(workbench)更新数据时候的一个异常

随机推荐

  1. HTML 5 就是 Web Application
  2. CSS文件:SyntaxError:期望表达式,得到'。
  3. 如何让这段插入的innerHTML 里动态赋予的
  4. html/css实现文字自动换行,超出部分出现(.
  5. 为什么所有验证都在同一时间进行
  6. 花式框内的内容需要响应
  7. jQuery动画div滑动,不覆盖文本。
  8. 关于input的一些问题解决方法分享
  9. css让背景图片拉伸填充的属性
  10. 解决FCKEditor编辑器在浏览器返回时显示h