A
asit
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 !!!!!
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 !!!!!