SO_REUSEPORT -- available in linux ?
- From: "vivekian" <viveklinux@xxxxxxxxx>
- Date: 26 Feb 2006 18:38:53 -0800
Hi,
Have a simple socket program running in linux where a snippet has :
if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(int)) ==
-1) {
perror("setsockopt");
exit(1);
}
This fails to compile ; the error being
SO_REUSEPORT' undeclared (first use in this function)
Is there something wrong here ?
Thanks in advance.
.
- Follow-Ups:
- Re: SO_REUSEPORT -- available in linux ?
- From: Uwe Bonnes
- Re: SO_REUSEPORT -- available in linux ?
- Prev by Date: Re: dhcp-client cleanup
- Next by Date: Re: Does Network library source available for Linux?.
- Previous by thread: Linux Shoutcast/Icecast Source.
- Next by thread: Re: SO_REUSEPORT -- available in linux ?
- Index(es):
Relevant Pages
|