asit wrote:
>
In my code I have to convert the following UNIX code to its winsock
equivalent code...
if(setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(int))
== -1)
{
perror("setsockopt error");
}
In the above code perror is not an issue. But how to fix setsockopt()
function !!!!!
There is no such function in standard C. This is off-topic on
c.l.c. Find a newsgroup that deals with your system, which appears
to be Windows. The result will not be portable.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.