Generic Protocol Framework 1.0 RC1
Sponsored Links
Generic Protocol Framework 1.0 RC1 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
Freely Distributable
Price:
Downloads:
1055
Date added:
2006-12-07
Publisher:
Aaron Conole
Generic Protocol Framework 1.0 RC1 description
Generic Protocol Framework aims to allow users to rapidly prototype different emerging communications protocols. Implementations can be easily "dropped in" and tested independant of a finished product. Testing on both the end product, and the protocol itself can be easily accomplished. The tool aims to provide the developer and end user with a robust solution which can track the size of messages, how rapidly they will be generated, and how many of each type can be seen.
Why the GPF:
There are many similar tools available. The problem with many of these tools is that they are 1) closed source, 2) not easily adaptable to a specific implementation (they use custom languages), 3) expensive. The advantages of the GPF are its open source nature, the ease of which it can be adapted, and the cost: free!
Basic Flow:
Modification of the GPF is fairly simple. Tool-opts.h contains the basic options that will be applied to the packet while it is being built. To transmit a packet, the system calls the tx_message() function, and passes the message ID as well as the option block. This is then passed to the custom function: tx_message_custom() in tx.c. From the message id, the system selects an appropriate tx_* function (to be implemented by the user) and passes an unsigned char **, where the buffer will be written, and the option block. In turn, that function will make heavy use of the add_buf_tu*() functions, which will allow the user to add a tubyte8, tuint16, or tuint32 number to the buffer.
In daemonize mode, the basic options are set, and the system then listens for incomming packets. When a packet arrives, the system calls basic_parse() on the packet. This function then calls basic_parse_custom(), found in parse.c. In turn, this can call any appropriate parsing helpers, including the get_tu*() functions, which allow the user to retrieve a tubyte8, tuint16, or tuint32 from the buffer. CAVEAT: if the first two bytes of the buffer are zerod, it will be treated as an END message. However, recovery is available. In the basic_parse_custom() message, you can set the end_signal_caught variable of the option_block to 0. In this case, it will not stop the daemon from running.
Enhancements:
- Currently, TCP support is somewhat experimental.
- Testing for that portion will be ongoing.
- No clear examples are provided.
- The examples/ directory contains the precursors to a MIP example.
Why the GPF:
There are many similar tools available. The problem with many of these tools is that they are 1) closed source, 2) not easily adaptable to a specific implementation (they use custom languages), 3) expensive. The advantages of the GPF are its open source nature, the ease of which it can be adapted, and the cost: free!
Basic Flow:
Modification of the GPF is fairly simple. Tool-opts.h contains the basic options that will be applied to the packet while it is being built. To transmit a packet, the system calls the tx_message() function, and passes the message ID as well as the option block. This is then passed to the custom function: tx_message_custom() in tx.c. From the message id, the system selects an appropriate tx_* function (to be implemented by the user) and passes an unsigned char **, where the buffer will be written, and the option block. In turn, that function will make heavy use of the add_buf_tu*() functions, which will allow the user to add a tubyte8, tuint16, or tuint32 number to the buffer.
In daemonize mode, the basic options are set, and the system then listens for incomming packets. When a packet arrives, the system calls basic_parse() on the packet. This function then calls basic_parse_custom(), found in parse.c. In turn, this can call any appropriate parsing helpers, including the get_tu*() functions, which allow the user to retrieve a tubyte8, tuint16, or tuint32 from the buffer. CAVEAT: if the first two bytes of the buffer are zerod, it will be treated as an END message. However, recovery is available. In the basic_parse_custom() message, you can set the end_signal_caught variable of the option_block to 0. In this case, it will not stop the daemon from running.
Enhancements:
- Currently, TCP support is somewhat experimental.
- Testing for that portion will be ongoing.
- No clear examples are provided.
- The examples/ directory contains the precursors to a MIP example.
Generic Protocol Framework 1.0 RC1 Screenshot
Advertisements
Generic Protocol Framework 1.0 RC1 Keywords
Generic Protocol Framework
Generic Protocol Framework 1.0 RC1
RC1
GPF
aims to
Framework 1.0
to allow
Communications protocols
can be
allow users
protocol
generic
framework
1.0
basic
allow
Bookmark Generic Protocol Framework 1.0 RC1
Generic Protocol Framework 1.0 RC1 Copyright
WareSeeker periodically updates pricing and software information of Generic Protocol Framework 1.0 RC1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Generic Protocol Framework 1.0 RC1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Roma Framework is a Meta-Framework designed to build cross frameworks applications in very short time. Free Download
Stratos PHP Framework is an open-source, object-oriented web application framework. Free Download
EmanonPHP Framework is a framework developed in PHP which uses a .NET-like convention for calling classes. Free Download
KDE Bluetooth Framework is a set of tools built on top of Linux Bluetooth stack BlueZ. Free Download
Paranamer is a mechamism that allows Java programmers to access the parameter names of methods of Java classes. Free Download
QOF, the Query Object Framework, provides a set of C Language utilities for performing generic structured complex queries. Free Download
PicoForge aim is to provide a set of high level libre software applications that are well integrated. Free Download
LinPHA is an easy to use, multilingual, flexible photo/image archive/album/gallery written in PHP. Free Download
Latest Software
Popular Software
Favourite Software