[This message was posted by Michael Wynne of Michael Wynne & Co <[email protected]> to the "FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can reply to it on-line at http://fixprotocol.org/discuss/read/ba74f34f - PLEASE DO NOT REPLY BY MAIL.]
Hi, implementing arca multicast decoder is straightforward, about 400-500 lines of C++ code. Arca's sample code is a real mess, slow, hard to understand, its much easier to start from scratch. > Dale, I ended up grabbing a copy of that TCPDump and it has been a great > help - thanks for letting me know about that. > > I've got the UDP header identified and what appears to be the ArcaBook > header identified, so I'm working on trying to run the actual compacted > message data through the decoder they provide. So far, no luck really, > it returns '0' which means it was successful but it only processes 3 > bytes and only fills in the message type in the destination buffer. But, > thats further than I was, so I'll take what I can get. > > Better get back to it. > > Thanks again, Sean > > > Hi Sean, > > > > > Sean, the weird preamble indicates that you are looking at a pcap > > > formatted file (possibly produced by tcpdump -s0 -o ...) > > > > > > If this is indeed the case, then you have ETH, IP and UDP headers in > > > front of the payload. > > > > It sounds as if may have a better set of sample files than the ones I > > worked with. Having a pcap formatted file is actually a good thing. > > > > There is an open source library, pcaplib (http://www.tcpdump.org/), > > that can read these files on *nix systems. There is a windows version > > as well, winpcap (http://www.winpcap.org/). > > > > When I was working with QuickFAST I wanted to avoid adding > > dependencies on two external projects, and also I didn't want to fight > > the portability problems of using pcaplib on *nix and winpcap on > > Windows, so I wrote a simple-minded pcap file reader that reads > > UDP/Multicast files only. For general purpose work you should > > obviously use one of the pcap libraries, but if all you need to do is > > read a capture of a multicast stream, you're welcome to "borrow" the > > PCapToMulticast program that is one of the example programs in > > QuickFAST (http://quickfast.googlecode.com) > > > > HTH, > > > > Dale [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en -~----------~----~----~----~------~----~------~--~---
