Code Monkey home page Code Monkey logo

labrotory2's Introduction

labrotory2

多客户多服务器程序

功能

  • 工作站:完成传送请求,完成文件传输。
  • 任务分配服务器:接收工作站的传送请求,轮流向服务器发送的工作站的传送请求。
  • 文件分析服务器:接收任务分配服务器的发来的工作站的传送请求,完成与工作站的连接,并接收工作站传来的一批文件,对每个文件进行分析处理并将相关信息 (“文件名,来源IP,来源端口,处理日期,处理时间,前面8 个字节,文件长度”)作为一条记录写到本地日志文件中。
  • 管理平台:能展示工作站和服务器的IP,工作状态,能实时更新状态。

运行

socket9中:

  • 运行管理平台Manager
  • 运行文件分析服务器FileAnalysisCreate(创建三台服务器分别监听端口30000,30001,30002)
  • 运行任务分配服务器TaskDistribute
  • 运行工作站WorkStation(创建6个工作站分别监听端口10000到10005)

说明

  • 工作站所负责的文件夹(每个文件夹下三个文件):D:\JAR\TXTsocket\txt0~6
  • 日志所在文件夹:D:\JAR\socket\socketLog

labrotory2's People

Contributors

tonysking avatar

Watchers

James Cloos 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.