WCF隧道-远程桌面 [英] WCF tunneling - Remote desktop

查看:130
本文介绍了WCF隧道-远程桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是WCF和网络领域的新手.我需要解决以下pblm.
我有两个系统A和B.系统A具有以侦听模式运行的VNC查看器.系统A上的所有端口都同时打开
入站n出站流量.在系统B上,我有一个以``仅回送''模式运行的VNC服务器.在系统B上,所有端口均已关闭
我的想法是将B上的VNC服务器与A上的VNC查看器连接.另外,当用户关闭
A上的VNC查看器,我需要通知系统B.

使用WCF的最佳方法是什么?人们建议我在A和B之间建立一条隧道,但不是
确定这将如何帮助您?

我需要使用WCF和C#解决它.有技巧或示例代码吗?


感谢您的帮助.

I am new to WCF and the networking domain. I need to solve the following pblm.
I have two systems , A and B. System A has a VNC viewer running in listen mode. All ports on System A are open for both
inbound n outbound traffic. On System B, I have a VNC Server running in a ''Loop back only'' mode.On system B, all ports are closed
for inbound traffic but open for outbound traffic .My idea is to connect the VNC server on B with the VNC viewer on A. Also,when the user closes the
VNC viewer on A , I need to notify the SYstem B.

What is the best possible way to do it using WCF? People have suggested that I create a tunnel between A and B but am not
sure how this will help?

I need to solve it using WCF with C#. Any tips or sample code?


Thanks for any help

推荐答案

我看不到您可以在系统B上运行任何类型的服务,而无需打开该计算机上的至少某些端口.使用WCF,您可以指定服务将监听的端口.您只能打开该端口以用于传入和传出流量.然后即可运行.
I cannot see that you can have any kind of service running on system B without opening at least some ports on that machine. With WCF you can specify the port your service will listen to. You can have ONLY that port opened for incoming and outbound traffic. Then you can function.


这篇关于WCF隧道-远程桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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