Coder Social home page Coder Social logo

vnc's Introduction

####VNC协议的服务器端实现
协议格式参考 https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst
C# 部分代码参考了 https://github.com/T1T4N/NVNC 目前只处理了

消息类型 名称
0 SetPixelFormat
2 SetEncodings
3 FramebufferUpdateRequest
4 KeyEvent
5 PointerEvent
6 ClientCutText

这几个必须实现的协议
图像使用Raw Encoding编码

####项目路径文件说明 source
  ├ VNC C#代码的服务器端 只能用在windows系统上
  └ VNC_CPP C++版的服务端,可以在windows和ubuntu上测试过可用

#####C#版代码 日志使用的nlog。
的图像处理使用的gdi+,鼠标键盘操作引用的user32.dll

#####C++版的代码 项目设置是cmake
socket通信使用的boost/asio
日志使用的boost/log
windows上图像处理使用的GDI,键盘鼠标操作使用的winpai的WinUser.h中方法,和C#版实际上使用的是相同的方式。
ubuntu版使用的图像处理使用的xlib(需要ubuntu启动时选择xorg)。键盘鼠标操作也是xlib。 des加密使用 https://www.cryptopp.com/ https://github.com/abdes/cryptopp-cmake

支持UltraVNC view和UltraVNC Repeater

vnc's People

Contributors

sealoffire avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.