如何在Internet上的两个应用程序之间发送数据 [英] How to send data between two applications on the Internet

查看:131
本文介绍了如何在Internet上的两个应用程序之间发送数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我解决一些麻烦。我通过一个程序来了我发给其他程序的其他地方,比如聊天程序可以帮助别人,我只是在网络中有一个示例程序

有人请帮助我如何获取从互联网?

Can someone help me in a bit of trouble. I came through a program The other place I send to other programs such as chat programs can help someone, I just got a sample program within the network
Someone please help me how to get the information sent from the Internet?

推荐答案

请看我过去的答案:

通信b / w局域网上的两个Windows应用程序。 [ ^ ],

我可以将字节[]发送到其他电脑 [< a href =http://www.codeproject.com/Answers/159891/how-i-can-send-byte-to-other-pc#answer4target =_ blanktitle =New Window> ^ ]。



-SA
Please see my past answers:
Communication b/w two Windows applications on LAN.[^],
how i can send byte[] to other pc[^].

—SA


第一个a谢尔盖·亚历山德罗维奇·克鲁科夫注意到的最好和最明智的应用程序之间的沟通方式。



但我多次使用的另一种方式是创建一个Web服务或使用蜜蜂。 (看到这个 [ ^ ])



最简单的方法是在主机中使用特定文件(对于ex .txt文件),您可以通过应用程序读取和写入数据。 (这是更糟糕的沟通方式,在某些方面称为拉动,但有时可以帮助我们赶时间或业余!!)。



谢谢

-amir nasrollahi
the first answer which Sergey Alexandrovich Kryukov noted is best and the most sensible way for communicate between apps.

but another way which i use many times is to create a web service or use APIs. (see this[^])

the simplest way is using a specific file (for ex a .txt file) in a host which you can read and write data on it by your apps. (this is the worse way for communication and called Pulling in some ways but sometimes can help when we in hurry or amateur!!).

thanks
-amir nasrollahi


为什么不尝试使用.net中的套接字



使用C#在.NET中编写套接字编程简介 [ ^ ]



或者你可以尝试node.js
Why don't you try with Sockets in .net

An Introduction to Socket Programming in .NET using C#[^]

Or you can try out node.js


这篇关于如何在Internet上的两个应用程序之间发送数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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