Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# WCF vnc
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 8:03am
SASS_Shooter at 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
0 Sergey Alexandrovich Kryukov 359
1 Richard MacCutchan 320
2 OriginalGriff 280
3 Jared Sanow 145
4 Snehasish_Nandy 115
0 Sergey Alexandrovich Kryukov 5,939
1 OriginalGriff 4,885
2 CPallini 2,473
3 Abhinav S 1,507
4 Richard MacCutchan 1,437

Advertise | Privacy | Mobile
Web03 | 2.8.140814.1 | Last Updated 23 Apr 2012
Copyright © CodeProject, 1999-2014
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