metro app和desktop app怎么通信
metro app和desktop app怎么通信?
desktop app可以是service。
根据查的资料,传统的IPC,比如命名管道,共享内存是不行的。
metro 上是有StreamSocket API的,通过socket好像是可以的。(是不是?)
也有人说可以通过localservice。
It is possible to communicate on the same machine from Metro app to desktop app using local service.
---local service是什么意思?
local service 和socket相比较 哪个更好些?
还有没有其他的方法?
你可以用socket或者XMLHttpRequest2 将数据进行post或get到webservice中
不能通过socket,目前只能通过webservice