in reply to Problem with SO_REUSEPORT in IO::Socket::INET

when I set ReusePort => 1 I get Your vendor has not defined Socket macro SO_REUSEPORT

A google search for "SO_REUSEPORT linux" produces a wealth of info. On quick read, it appears that

  1. SO_REUSEPORT appeared in 2.4.15 and later kernels,
  2. SO_REUSEPORT can only be used with multicast addresses, and
  3. SO_REUSEPORT and SO_REUSEADDR (and hence ReusePort and ReuseAddr) cannot be used together.

YMMV on a deeper read.

  • Comment on Re: Problem with SO_REUSEPORT in IO::Socket::INET