[This message was posted by Dale Wilson of Object Computing, Inc <[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/fa51ec24 - PLEASE DO NOT REPLY BY MAIL.]
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 -~----------~----~----~----~------~----~------~--~---
