Solved

VNC *SERVER* Source Code in C#

Posted on 2011-03-04
12
4,246 Views
Last Modified: 2013-11-30
I would like to know if i can find some source code for VNC SERVER, written in C#.

Does anyone got a link for that?

I've found many VNC Viewer sources, but only few Servers.  Those i've found were written in C++.

IMPORTANT: Do not answer if you are not sure that the link you are providing contain source code for the specific language i've requested, or if it's a viewer only.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 3

Expert Comment

by:pasolo
ID: 35037944
I had downloaded it weeks ago, the link is:
http://dotnetvnc.sourceforge.net/

PS: It works very well
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35037947
Sorry, you want a server:(
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35038047
Probably has never been done. Performance is expected to be too bad. GDI++ os not know for speed and trying to fast bitblt with PInvoke looks impossible. But would be a nice try:)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Author Comment

by:Christian de Bellefeuille
ID: 35038785
Yes, i want a SERVER.

I don't want to be rude, but how the hell did you missed that?
It's in the subject, in CAPITAL letters
It's in the body of my request, in BOLD / ITALIC / UNDERLINE
I've added an IMPORTANT note in BOLD to make sure that no one would come up with a stupid answer that doesn't match my question.

You know very much that no one else will answer since they will see "4 comments" on my question.  I'm going to have to post & delete questions, again and again until i get an answer.
0
 
LVL 10

Author Comment

by:Christian de Bellefeuille
ID: 35038820
if any king pin can help me here, i would really appreciate... TheLearnedOne, carl, kaufmed, tgerbert, etc...
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35038841
Then do it yourself in BOLD and CAPITAL letters.
0
 
LVL 10

Author Comment

by:Christian de Bellefeuille
ID: 35047037
Ok.  Sorry for what i said, but i've got 2 consecutive failure like this and i got really mad.  I've got to repost the questions and it pissed me off.

You are probably right about it: it probably never been done.  I already had that guess because i've googled for a while before posting this question, and i've found nothing.  This is why i posted here to see if i just didn't missed something.

Is there any site who have done some extensive tests to see how slow it perform on specific Pinvoke?

The only way to reduce the number of Pinvoke would be to do some test with the size of the blocks that you check & copy.  Bigger are the "squares", less we have pinvoke... but it has some drawback on the bandwidth.
0
 
LVL 3

Accepted Solution

by:
pasolo earned 500 total points
ID: 35047092
lol. Some people made a VNC server in Java and others in VB 6. I don't think anyone need those because performance counts and neither .Net nor the others are good choices for performance. VNC is already slow, particularly since they started using c++ with all those classes.
0
 
LVL 10

Author Comment

by:Christian de Bellefeuille
ID: 35069473
Well, i'll perform some test before i start the development of what we got to do.

I thought that it would be nice to use .NET since there's compression & encryption.

I'll perform different commands 100 000 times if necessary, to see how it perform in C++ vs C#.
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35071087
ok. the important is the fun it will provide
0
 
LVL 10

Author Closing Comment

by:Christian de Bellefeuille
ID: 35074611
I'll give a B because in the question i've specified "server".

But i give the points because pasolo explained a performance issue with the pinvoke.

There's also some other things that we might have to consider if we want to develop a VNC like application.  Global System Hooks doesn't seems to be done in 100% managed app.   I've seen some hook coded with a mix of C++ (unmanaged) and C# (managed).
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35079811
Hooks do not provide much of a boost and in Windows Vista or 7 you will not be able to hook windows with higher privilege level.
Thank you for the points
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Desktop Connections allow you to control remote host machines via the magic of the Internet and RDP (Remote Desktop Protocol). For the purposes of this article we will assume you are connecting from your home PC or laptop to a remote offic…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question