Giter VIP home page Giter VIP logo

multithread-screen-streaming's Introduction

Multithread-Screen-Streaming

VB6 多线程屏幕串流

第一次尝试用VB6来弄多线程的程序... 之前曾经写过用屏幕扫描算法来传输屏幕,但是在VB6默认的情况下是单线程运行的,如果不断地扫描则会阻塞线程;如果用计时器来隔一段时间再进行扫描则看上去画面略卡。 直到在贴吧看到这个多线程例子,决定拿来试一下。开发的时候崩了很多次(VB6真的对线程不怎么友好QWQ) 不过总算是弄完了。 其实效果一般般,在本机觉得还行,放在局域网就开始崩了

亮点:

  • 多线程
  • 纯API Socket (因为线程里面不能操作Winsock控件... 只好自己用APi写)
  • Socket数据流处理,自己写了个缓冲区用来处理Socket的分包
  • 屏幕扫描算法

multithread-screen-streaming's People

Contributors

sweeticelolly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.