0

I am trying to use an example code of the Quickfix library. I compiled the code with:

g++ -o main tradeclient.cpp Application.cpp -std=c++11 -fexceptions -finline-functions -lquickfix -lpthread -lxml2 -lz

it compiles perfectly!

When I run the program with the corresponding config settings that the broker provides for the FIX protocol, I am unable to get a succesful LOGON. Instead it logouts, and the FIX message I try sending is printed by the program with a bunch of OO1B characters. Here's a screenshot of the output:

screenshot

What could be the problem? I have downloaded all the dependencies to compile and run the program (all the libraries to compile the program as well as glibc libxml2).

This is the example code I am compiling:

https://github.com/quickfix/quickfix/tree/master/examples/tradeclient

Luis Cruz
  • 1,488
  • 3
  • 22
  • 50

1 Answers1

0

That is just SOH, it separates each field of FIX message.

See link SOH

billz
  • 44,644
  • 9
  • 83
  • 100
  • I see... Thanks for the clarification, I am a newbie at using FIX. Then the problem is some other thing. Any suggestions as to why the "socket error: connection reset by peer" might be showing up? Thank you. – Luis Cruz May 21 '15 at 05:59
  • Your remote peer dropped your connection, as simple as that. Check your tag 49, 56 pair values – billz May 21 '15 at 06:10
  • They are both correct. But I will keep testing and see what I find out... thank you. – Luis Cruz May 21 '15 at 06:31