是否可以使两台计算机通过Internet进行通信而无需实时使用中央服务器 [英] Is it possible to for two computers to communicate over the internet without using central server in real time

查看:90
本文介绍了是否可以使两台计算机通过Internet进行通信而无需实时使用中央服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使两台计算机通过Internet进行通信而无需实时使用中央服务器? 如是 通信计算机如何知道彼此的IP地址,

Is it possible to for two computers to communicate over the internet without using central server in real time? if yes how do the communicating computers know each others ip address,

据我所知,大多数通过ISP连接到Internet的计算机都分配有动态IP地址.因此,发起传输的计算机如何知道接收方计算机的IP地址.

as far as i know most computers connected to the Internet through the ISP's are allocated dynamic ip address.So how does the computer intiating the transmission know the receiving computers ip address.

我的目标是构建一种无需通过中央服务器即可将几字节数据从计算机A传输到计算机B的软件.

My goal is to build a software that would transfer a few bytes of data from Computer A to Computer B without going through a central server.

推荐答案

两台计算机是否可以通过Internet通信

Is it possible to for two computers to communicate over the internet

是的,只要中间有防火墙允许即可.

Yes, provided any intervening firewalls permit.

不使用中央服务器

without using central server

是的

实时吗?

除非您在两端都具有实时网络和实时操作系统,否则不会:否则您将滥用计算机科学的实时",在这种情况下则不会.

Not unless you have a real-time network and real-time operating systems at both ends: or else you are abusing the computer-science 'real-time', in which case don't.

如果是,则通信计算机如何彼此知道IP地址

if yes how do the communicating computers know each others ip address

通过配置,DNS,用户输入等...太宽了.

Via configuration, DNS, user input, ... Too broad.

这篇关于是否可以使两台计算机通过Internet进行通信而无需实时使用中央服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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