问题描述
G''day all,
我要求通过
互联网在两台或多台PC之间进行通信,但我不知道如何要解决这个问题。
我不是在谈论这样的聊天程序,我想要一个全天候运行的
应用程序''基本PC''连接到互联网,
可以发送数据(如监控应用程序)。它不是设计用于聊天,而是发送我的应用程序使用的数据(这可以是二进制文件或xml或其他形式的
)。 br />
然后,我希望在我的应用程序中使用任何其他现场PC和正确的
用户名和密码,以便能够实时接收这些数据,并发回
数据。我还想将基本PC上的所有传出和传入数据保存到Internet上的某种日志中。我有一个网站
主机(主机怪物),如果有帮助吗?也许它可以记录数据
那里?
我不想玩静态IP,只需安装我的
''现场PC'上的
应用程序在
设置中输入正确的用户名和密码,然后关闭它。
我的初始以为是ftp,读取和写入数据文件,但它需要比bb更快 - 我需要它来立即收到数据
(不扫描ftp目录)每隔一段时间。
我希望我能很好地解释自己。任何人都可以建议使用
最好的方法吗?
非常感谢,
MrQuan
G''day all,
I have a requirement to communicate between two or more PCs over the
Internet, however I have no idea how to go about this.
I''m not talking about a chat programme as such, I want to have an
application running 24/7 on a ''base PC'' connected to the internet that
can send out data (like a monitoring application). It''s not designed
for chatting, but sending data used by my application (this can be in
the form of a binary file or xml or whatever).
I then want to have any other ''field PC'' with my app and the right
username and password to be able to recieve this data live, and send
data back. I would also like to save all outgoing and incoming data on
the ''base PC'' to a log of some sort on the Internet. I have a website
host (at host monster), if that helps? Perhaps it could log the data
there?
I don''t want to have to play around with static IPs, just install my
app on the ''field PC'' enter the right Username and Password in the
settings, and off it goes.
My initial thought was ftp, reading and writing data files, but it will
need to be faster than that - and I need it to recieve data instantly
(not scanning an ftp directory on intervals).
I hope I have explained myself well. Can anyone please suggest the
best method to use?
Many thanks,
MrQuan
这篇关于通过网络进行通信的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!