实验性协议设计和测试工具发展? [英] Tools for experimental Protocol Design & Development?
问题描述
是否有任何开放源代码的高级工具可以促进和简化使用GUI的实验性网络协议(TCP/UDP)的开发?
Are there any open source, high level tools that would facilitate and simplify development of experimental network protocols (TCP/UDP) using a GUI?
基本上,诸如动态状态机编辑器之类的工具可以让您定义数据包",消息",状态",验证器",处理程序"等.
Basically, something like a dynamic state machine editor that would allow you to define "packets", "messages", "states", "validators", "handlers" etc.
优选地,这样的工具将足够全面以处理协议的所有相关方面(即,客户端和服务器),从而可以将高级协议描述序列化为XML/RDF文件,在该文件中可以用于动态创建用于实现协议的应用程序代码(例如,在Python中).
Preferably, such a tool would be comprehensive enough to deal with all relevant aspect of the protocol (i.e. client & server), so that the high level protocol description could be serialized out to an XML/RDF file where it could be used to dynamically create application code to implement the protocol (i.e. in Python).
推荐答案
放弃用于文本编辑器的GUI,进入协议规范语言的世界.这些工具中的大多数都对某些协议进行了描述,试图证明它没有被破坏,并生成了一个实现和测试.以下是一些入门的信息,但还有更多信息:
Give up the GUI for a text editor and enter the world of protocol specification languages. Most of these tools take a description of some protocol, try to prove it's not broken, and generate an implementation and tests. Here's a few to get you started, but there's many more:
- Ragel
- APC
- SPIN
这篇关于实验性协议设计和测试工具发展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!