From: Rodrigo M. <rod...@gm...> - 2008-10-31 11:51:59
|
Thank you for your reply. However, I don't need a whole set of libraries. I already have Boost's ASIO. I'll do the code using what you proposed and we can go from there. There will be no other way, unfortunately. Here is the link you asked for: http://article.gmane.org/gmane.comp.lib.boost.user/41209 Also, please note that if you ever needed to deal with a binary protocol using ASIO, you should have needed this kind of implementation code. Regards, Rodrigo On Fri, Oct 31, 2008 at 12:14 AM, Divye Kapoor <div...@gm...>wrote: > Hello Rodrigo, > > On Fri, Oct 31, 2008 at 2:44 AM, Rodrigo Madera <rod...@gm...>wrote: > >> Hello there, >> >> I just found cpp-netlib while searching for an Application Layer library >> for the excellent Boost ASIO library. >> >> I have been trying to ask about this on the Boost Users mailing list, but >> I still have no answer on the issue of protocol Muxing (encoding and >> decoding). >> > > Could you provide a link to that message? > > >> >> I see that you have an HTTP protocol parser example (and subsystem inside >> the library) but what I'm looking for is a generic parser class hierarchy >> and/or templates that would allow me to treat binary protocols. >> > > The http protocol support is a kind of subsystem in the project. There is > nothing preventing you from rolling out your own protocol support. The base > classe: basic_message provides a basic framework which you can specialize on > the tag type to support any kind of protocol. Currently, the http module is > using that approach. There are many directives, traits, etc. that operate on > the basic_message directly, thus allowing you to approach protocol support > speedily. > > > >> >> So simply put: What are your plans for this? Is this already possible with >> the current version? >> >> Thank you for your input and congratulations on your initiative. >> >> Kind regards, >> Rodrigo Madera >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Cpp-netlib-devel mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel >> >> > > > -- > An idealist is one who, on noticing that a rose smells better than a > cabbage, concludes that it will also make better soup. > H. L. Mencken (1880 - 1956) > My official web site: http://people.iitr.ernet.in/shp/061305/ > Webmaster: http://www.drkapoorsclinic.com > Blog: http://divyekapoor.blogspot.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > > |