[zeromq-dev] TOS/DSCP code produces error for epgm

RohanB rohanb at cs.uchicago.edu
Wed Oct 10 23:17:14 CEST 2012

If I comment out this code, it works fine but if I don't I get this error which 
is identical to if I simply switch from epgm to pgm. Thoughts? 

Warn: ToS/DSCP setting requires CAP_NET_ADMIN or ADMIN capability.
Invalid argument (session_base.cpp:478)

File: pgm_socket.cpp

341                 const int dscp = 0x2e << 2;
342                 if (AF_INET6 != sa_family && !pgm_setsockopt (sock,
343                       IPPROTO_PGM, PGM_TOS, &dscp, sizeof (dscp)))
344                     goto err_abort;

More information about the zeromq-dev mailing list