我应该做什么从一个应用程序发送/接收数据到其他应用程序? [英] What I supposed to do Send/Receive data from one app to other app?

查看:78
本文介绍了我应该做什么从一个应用程序发送/接收数据到其他应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发一个新程序。此程序将数据发送和接收到其他计算机。我做了一些研究,Socket编程可以解决我的问题。但我想问这个;

例如Whatsapp。 Whatsapp是一个聊天程序。他们也使用插座吗?



我问这个因为,如果我需要,我可以为我的程序购买服务器。



还有其他办法吗?





谢谢回答。祝你有个美好的一天。

Hi everyone,

I'm developing a new program. This program Send and Receive data to other computer. I did some research and Socket programming can solve my problem. But I wanna ask this;
For example Whatsapp. Whatsapp is a chat program. Are they use socket too?

I'm ask this because, I can buy server for my program, if I need it.

And are there other ways to do it?


Thanks for answer. Have a good day.

推荐答案

Whatsapp就像所有类似的应用程序一样,使用套接字在移动设备和中央服务器之间进行通信。每条消息都将包含路由信息,以将其传递给所需的客户端。这个程序的实际机制比在快速答案论坛中解释的更复杂。
Whatsapp, like all similar apps uses sockets to communicate between the mobile and a central server. Each message will contain routing information to pass it to the required client. The actual mechanics of such a program are more complex than could be explained in a Quick Answers forum.


这篇关于我应该做什么从一个应用程序发送/接收数据到其他应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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