Click here to Skip to main content
11,930,449 members (60,675 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# WCF
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
Posted 21-Apr-12 9:03am
SASS_Shooter 23-Apr-12 11:40am
In the future, please do not hit the enter key in the middle of your text. It would be easier to read your question if you just type it out without trying to do your own formatting.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 23 Apr 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100