[lkml]   [2006]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SO_REUSEPORT and multicasting

Instead of degenerating this mailing list into a BSD socket
programming class, you may find this informative:

and it's covered extensively in W. Richard Steven's book, TCP/IP
Illustrated, Volume 2. It is considered the bible on BSD socket

Particularly telling is the final paragraph from that web page which

Basically SO_REUSEPORT is a BSD'ism that arose when
multicast was added, evne though it was not used in the
original Steve Deering code. I believe some BSD-derived
systems may also include it. SO_REUSEPORT lets you bind
the same address *and* port, but only if all the binders
have specified it. But when binding to multicast address
(its main use), SO_REUSEADDR is considered identical to
SO_REUSEPORT (p. 731, "TCP/IP Illustrated, Volume 2").
So for portability of multicast applications, I always

I STRONGLY suggest you go read that reference to page 731 in
the Steven book.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-15 00:16    [W:0.097 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site