Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
73537e67
Commit
73537e67
authored
Oct 11, 2012
by
Ian Barber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #437 from rohanbedarkar/master
Explicit comments
parents
1ef63bc2
93a7a378
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pgm_socket.cpp
src/pgm_socket.cpp
+2
-1
No files found.
src/pgm_socket.cpp
View file @
73537e67
...
...
@@ -326,6 +326,7 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_)
// Set IP level parameters.
{
// Multicast loopback disabled by default
const
int
multicast_loop
=
0
;
if
(
!
pgm_setsockopt
(
sock
,
IPPROTO_PGM
,
PGM_MULTICAST_LOOP
,
&
multicast_loop
,
sizeof
(
multicast_loop
)))
...
...
@@ -337,7 +338,7 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_)
goto
err_abort
;
// Expedited Forwarding PHB for network elements, no ECN.
const
int
dscp
=
0x2e
<<
2
;
const
int
dscp
=
0x2e
<<
2
;
if
(
AF_INET6
!=
sa_family
&&
!
pgm_setsockopt
(
sock
,
IPPROTO_PGM
,
PGM_TOS
,
&
dscp
,
sizeof
(
dscp
)))
goto
err_abort
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment