从Internet访问内部网络位置 [英] Access internal network locations from Internet
问题描述
我被要求想出一个制作即时消息程序的方法
,这将允许我们的外部客户点击下拉名称
菜单可以IM他们想要谁。
应用程序我告诉我的路由器将所有
通信从端口5000转发到包含本地IP地址
"套接字服务器"程序。
mobjClient =新TcpClient(" zz.zzz.zz.zz",5000)
mobjClient.GetStream()
DisplayText(" Connected"& vbCrLf)
mobjClient.GetStream.BeginRead(marData,0,1024,AddressOf DoRead,
没什么)
发送(ipadd&在线)
唯一的问题是所有用户都会收到正在运行的消息/>
客户端........而不仅仅是被请求的个人。
此代码示例中是否有一种方法可以告诉它转移到在这个网络中运行客户端的本地IP(或
机器名称)?
I have been asked to come up with a way to make a instant message program
that will allow our outside customers by clicking on a name in a drop down
menu can IM who they want.
THe application I have works after telling my router to forward all
communications from Port 5000 to a local IP address that contains the
"Socket Server" program.
mobjClient = New TcpClient("zz.zzz.zz.zz", 5000)
mobjClient.GetStream()
DisplayText("Connected" & vbCrLf)
mobjClient.GetStream.BeginRead(marData, 0, 1024, AddressOf DoRead,
Nothing)
Send(ipadd & " online")
THe only problem is that all users would get this message that are running
the client........not just the individual being requested.
Is there a way in this code sample to tell it to divert to a local IP(or
machine name) running the client within this network?
推荐答案
Scorpion,
我不这么认为,但是你可以看看NAT(网络地址翻译)。
我希望它能为你提供一点点路线。
Cor
Scorpion,
I dont think so, but you can look voor NAT (Network Adress Translator).
I hope it puts you a very little bit on the route.
Cor
谢谢Cor .......
我会尝试在vb.net和nat中的nat。
本主题没有很多我能找到的信息。这令人沮丧。它必须能够完成,因为MSN Messenger非常好地完成它。
Cor < no*@non.com>在消息中写道
news:3f ********************** @ reader20.wxs.nl ...
Thanks Cor.......
I will try looking under vb.net and nat in google.
This topic does not have a lot of information that I can find. It has been
frustrating. It must be able to be done though because MSN Messenger does it
quite nicely.
"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...
蝎子,
我不这么认为,但你可以看看NAT(网络地址翻译)。
我希望它能为你提供一点点路线。
Cor
Scorpion,
I dont think so, but you can look voor NAT (Network Adress Translator).
I hope it puts you a very little bit on the route.
Cor
" Cor" < no*@non.com>在新闻中写道:3f6c51b8
"Cor" <no*@non.com> wrote in news:3f6c51b8
这篇关于从Internet访问内部网络位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!