简体   繁体   English

WCF双工服务和Android客户端? 任何可能性

[英]WCF Duplex service and Android client? Any possibilities

I have created a WCF duplex service and client in .NET and its working fine and its pretty good also. 我已经在.NET中创建了WCF双工服务和客户端,它的工作原理也很好。
Now I wish to make an Android client. 现在,我希望成为一个Android客户端。 I have used kSoap previously for webservices and those are good for client to service connections. 我以前曾将kSoap用于Web服务,而这些对客户端到服务的连接非常有用
But in the case of duplex communication in which I need the service to sent message to client , I dont know how to implement. 但是在双工通信中, 我需要该服务才能将消息发送给客户端 ,但我不知道如何实现。

Unfortunately none of the duplex bindings are interoperable 不幸的是,没有一个双链绑定是可以互操作的

At this point polling might be your simplest option. 此时,轮询可能是您最简单的选择。 Further down the line maybe you could use something like WebSockets (WCF supports them in the next version - 4.5) 再进一步,也许您可​​以使用WebSockets之类的东西(WCF在下一版本中支持它们-4.5)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM