救命!我无法在任何地方找到这些信息! [英] Help! I can't find this info anywhere!

查看:68
本文介绍了救命!我无法在任何地方找到这些信息!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索过高低(甚至在某些地方我想忘记我曾经看到过
)这些信息会告诉我Nat2Nat
$用于UltraVNC的b $ b服务器(不仅仅是一个模糊的图表,而是所需的代码 - 至少是
,至少是psuedocode - 连接2个客户端)。 (您可以在
http://www.uvnc。 com / addons / nat2nat.html 。)


我得到的图表和所有,但你究竟会得到2个UDP连接

到你的UDP服务器开始互相交流而不是服务器吗?


我认为,Nat2Nat服务器的全部原因是要获得2台电脑。 $ b只能进行ooutgoing连接(因为它们在NAT之后)直接连接到
。如果他们已经连接到UDP服务器并且

无法接受传入连接,那么如何将它们直接连接到对方并从循环中删除Nat2Nat服务器?


这是什么诀窍?有人知道吗?

I have searched high and low (and even in some places I''d like to forget I
ever saw) for the information that will tell me exactly how the Nat2Nat
server for UltraVNC works (not just a vague diagram, but the code needed -
at least psuedocode - to connect the 2 clients) . (You can see it at
http://www.uvnc.com/addons/nat2nat.html.)

I get the diagram and all, but how exactly would you get 2 UDP connections
to your UDP server to start talking to each other instead of the server?

As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that
can only make ooutgoing connections (because they are behind NATs) to
connect directly. If they have already connected to the UDP server and
cannot accept incoming connections, how do you get them connected directly
to each other and drop the Nat2Nat server from the loop?

What''s the trick to this? Does anybody know?

推荐答案

我觉得Nat2Nat服务器会发送相反的IP /端口
客户端给每个客户。然后他们会直接向另一个客户发送进一步的通信,而不是通过服务器。

" smerf" < sm *** @ shroom.com写了留言

新闻:xS ******************* @ bignews8.bellsouth.net。 ..
Seems to me that the Nat2Nat server would send the IP/Port of the opposite
client to each client. Then they would send further communiction directly to
the other client instead of going through the server.
"smerf" <sm***@shroom.comwrote in message
news:xS*******************@bignews8.bellsouth.net. ..

>我已经搜索过高低(甚至在某些地方我想忘记我曾经看过)获取信息这将告诉我UltraVNC的Nat2Nat服务器是如何工作的(不仅仅是一个模糊的图表,而是需要的代码 - 至少是psuedocode - 连接2个客户端)。 (您可以在
http://www.uvnc。 com / addons / nat2nat.html 。)


我得到的图表和所有,但你究竟会得到2个UDP连接

到你的UDP服务器开始互相交流而不是服务器吗?


我认为,Nat2Nat服务器的全部原因是要获得2台电脑。 $ b只能进行ooutgoing连接(因为它们在NAT之后)直接连接到
。如果他们已经连接到UDP服务器并且

无法接受传入连接,那么如何将它们直接连接到对方并从循环中删除Nat2Nat服务器?


这是什么诀窍?有人知道吗?

>I have searched high and low (and even in some places I''d like to forget I
ever saw) for the information that will tell me exactly how the Nat2Nat
server for UltraVNC works (not just a vague diagram, but the code needed -
at least psuedocode - to connect the 2 clients) . (You can see it at
http://www.uvnc.com/addons/nat2nat.html.)

I get the diagram and all, but how exactly would you get 2 UDP connections
to your UDP server to start talking to each other instead of the server?

As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that
can only make ooutgoing connections (because they are behind NATs) to
connect directly. If they have already connected to the UDP server and
cannot accept incoming connections, how do you get them connected directly
to each other and drop the Nat2Nat server from the loop?

What''s the trick to this? Does anybody know?



但是怎么样?当你编写服务器时,你可以创建addidtional套接字并使用

其中一个接受另一个端口上的传入连接。但是,我有

从未见过接受另一个IP

地址的传入连接的方法。


你是在建议告诉每台PC重定向到服务器检测到的客户端UDP端口

?如果是这样,UDP的无连接特性是不是一个问题?防火墙和NAT是否保持UDP端口对同一客户端开放或者

所以他们只是随机选择另一个端口用于下一个传出请求?


" Terry奥尔森" < to ****** @ hotmail.comwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl。 ..
But how? When you write a server you can create addidtional sockets and use
one of them to accept an incoming connection on another port. But, I have
never seen a method of accepting an incoming connection on another IP
address.

Are you suggesting telling each PC to redirect to the client UDP ports
detected by the server? If so, wouldn''t the connectionless nature of UDP be
a problem? Do firewalls and NATs keep UDP ports open to the same client or
so they simply choose another port at random for the next outgoing request?

"Terry Olsen" <to******@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

在我看来,Nat2Nat服务器会将相反的

客户端的IP /端口发送给每个客户端。然后他们会直接向另一个客户发送进一步的通信,而不是通过服务器。


" smerf" < sm *** @ shroom.com写了留言

新闻:xS ******************* @ bignews8.bellsouth.net。 ..
Seems to me that the Nat2Nat server would send the IP/Port of the opposite
client to each client. Then they would send further communiction directly
to the other client instead of going through the server.
"smerf" <sm***@shroom.comwrote in message
news:xS*******************@bignews8.bellsouth.net. ..

>>我搜索过高低(甚至在某些地方我想忘记我曾经看过)这些信息将告诉我用于UltraVNC的Nat2Nat服务器是如何工作的(不仅仅是一个模糊的图表,而是需要的代码 - 至少是psuedocode - 连接2个客户端)。 (您可以在
http://www.uvnc。 com / addons / nat2nat.html

我得到的图表和所有,但你如何获得与UDP服务器的2个UDP
连接以开始与每个人交谈其他而不是服务器?

正如我所看到的,Nat2Nat服务器的全部原因是让2台PC只能进行ooutgoing连接(因为它们落后了) NATs)直接连接。如果他们已经连接到UDP服务器并且无法接受传入连接,那么如何将它们直接相互连接并将Nat2Nat服务器从循环中删除?

这是什么诀窍?有人知道吗?

>>I have searched high and low (and even in some places I''d like to forget I
ever saw) for the information that will tell me exactly how the Nat2Nat
server for UltraVNC works (not just a vague diagram, but the code needed -
at least psuedocode - to connect the 2 clients) . (You can see it at
http://www.uvnc.com/addons/nat2nat.html.)

I get the diagram and all, but how exactly would you get 2 UDP
connections to your UDP server to start talking to each other instead of
the server?

As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that
can only make ooutgoing connections (because they are behind NATs) to
connect directly. If they have already connected to the UDP server and
cannot accept incoming connections, how do you get them connected
directly to each other and drop the Nat2Nat server from the loop?

What''s the trick to this? Does anybody know?




查看 http://www.ambrosiasw.com/~fprefect/codewhore/nat2.html


根据这一点,NAT很可能会拒绝来自

的传入数据包,而不会发送数据包。这是有道理的 - 但是对于我的需求来说这是有问题的。

Terry Olsen < to ****** @ hotmail.comwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl。 ..
Check out http://www.ambrosiasw.com/~fprefect/codewhore/nat2.html .

According to this, The NAT will most likely reject an incoming packet from
an IP that it did not send a packet to. That makes sense - but it is
problematic for my needs.
"Terry Olsen" <to******@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

在我看来,Nat2Nat服务器会将相反的

客户端的IP /端口发送给每个客户端。然后他们会直接向另一个客户发送进一步的通信,而不是通过服务器。


" smerf" < sm *** @ shroom.com写了留言

新闻:xS ******************* @ bignews8.bellsouth.net。 ..
Seems to me that the Nat2Nat server would send the IP/Port of the opposite
client to each client. Then they would send further communiction directly
to the other client instead of going through the server.
"smerf" <sm***@shroom.comwrote in message
news:xS*******************@bignews8.bellsouth.net. ..

>>我搜索过高低(甚至在某些地方我想忘记我曾经看过)这些信息将告诉我用于UltraVNC的Nat2Nat服务器是如何工作的(不仅仅是一个模糊的图表,而是需要的代码 - 至少是psuedocode - 连接2个客户端)。 (您可以在
http://www.uvnc。 com / addons / nat2nat.html

我得到的图表和所有,但你如何获得与UDP服务器的2个UDP
连接以开始与每个人交谈其他而不是服务器?

正如我所看到的,Nat2Nat服务器的全部原因是让2台PC只能进行ooutgoing连接(因为它们落后了) NATs)直接连接。如果他们已经连接到UDP服务器并且无法接受传入连接,那么如何将它们直接相互连接并将Nat2Nat服务器从循环中删除?

这是什么诀窍?有人知道吗?

>>I have searched high and low (and even in some places I''d like to forget I
ever saw) for the information that will tell me exactly how the Nat2Nat
server for UltraVNC works (not just a vague diagram, but the code needed -
at least psuedocode - to connect the 2 clients) . (You can see it at
http://www.uvnc.com/addons/nat2nat.html.)

I get the diagram and all, but how exactly would you get 2 UDP
connections to your UDP server to start talking to each other instead of
the server?

As I see it, the whole reason for the Nat2Nat server is to get 2 PCs that
can only make ooutgoing connections (because they are behind NATs) to
connect directly. If they have already connected to the UDP server and
cannot accept incoming connections, how do you get them connected
directly to each other and drop the Nat2Nat server from the loop?

What''s the trick to this? Does anybody know?




这篇关于救命!我无法在任何地方找到这些信息!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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