Solved

VNC *SERVER* Source Code in C#

Posted on 2011-03-04
12
3,822 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
Question by:cdebel
  • 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
 
LVL 10

Author Comment

by:cdebel
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:cdebel
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 10

Author Comment

by:cdebel
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:cdebel
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:cdebel
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now