Coder Social home page Coder Social logo

支持多个PackParaser about pss HOT 1 CLOSED

cuijw avatar cuijw commented on July 29, 2024
支持多个PackParaser

from pss.

Comments (1)

freeeyes avatar freeeyes commented on July 29, 2024

开发完成,已经支持多个PacketParsre。
在配置文件里,可以配置多个,比如
<PacketParse ParseID="1" ModulePath="./" ModuleName="PacketParse_Interface.dll" Type="H&B" OrgLength="40" /> <PacketParse ParseID="2" ModulePath="./" ModuleName="PacketParse_Interface1.dll" Type="H&B" OrgLength="40" />
在设置监听端口的时候,可以在这指定使用那个ParseID,比如:
<TCPServerIP ip="INADDR_ANY" port="10002" ipType="IPV4" ParseID="1" desc="监听TCP服务器的IP和端口,可以是多个,要用多个" />
如果不设置这个ParseID="1"的参数,那么当前监听默认的是ParseID="1"的PacketParse插件,默认PacketParse是指在xml里面第一个出现的PacketParse标签。

from pss.

Related Issues (20)

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.