Re: =?windows-1256?q?Facing_issue_in_Perl_5=2E8_re?= =?windows-1256?q?lated_to_socket_option_SO=5FREUSEPORT=FE?=

aditya <[email protected]>
Newsgroups gmane.user-groups.linux.kolkata
Message-ID <[email protected]>
>
> "Your vendor has not defined Socket macro SO_REUSEPORT"
>
> I was using perl 5.8. Later I tried with perl 5.10 but this also resulted the same.
> Later I found that the /usr/include/asm/socket.h file had the SO_REUSEPORT option commented. I uncommented the code and again tried by recompiling Perl. But this time the error was of different type, the setsockopt was failing with error "Protocol not available".
>

I believe that SO_REUSEPORT Is not supported on Linux systems (of
course, I'm guessing you're using Linux). To the best of my knowledge,
BSD and derivatives support it.

The closest alternative on Linux is SO_REUSEADDR

Thanks
Aditya
_______________________________________________
Ilug-cal-discuss mailing list
Ilug-cal-discuss-PMNjqutUrVNkNBGiPgg+Odi2O/[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.