/
How to resolve setsockopt failure issues

How to resolve setsockopt failure issues

License system initialization failure: ::setsockopt(0, 35, ...) failed(). No such device. (Error code = 19)

FIX Antenna C++ application can't start with the following error in the engine_*.log

[ERROR] 20210113-17:15:42.912 [140265924573312] [Engine] - License system initialization failure: ::setsockopt(0, 35, ...) failed(). No such device. (Error code = 19) 
[ERROR] 20210113-17:15:42.912 [140265924573312] [Engine] - FixEngine::init: ::setsockopt(0, 35, ...) failed(). No such device. (Error code = 19)

The root cause

Network configuration is not expected

Solution

Add a route to the network multicast group  239.192.111.222 via "<network interface>" 

sudo route add -net 239.192.111.222 netmask 255.255.255.255 <network interface>

Related content

FIX Antenna C/C++/.NET upgrade instruction
FIX Antenna C/C++/.NET upgrade instruction
More like this
How to build your application with FIX Antenna .NET libraries
How to build your application with FIX Antenna .NET libraries
More like this
Explanation of messages in logs of applications based on FIX Antenna
Explanation of messages in logs of applications based on FIX Antenna
More like this