iipe...@gmail.com
unread,Jul 22, 2018, 7:16:08 AM7/22/18You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
PRSocketOptionData Options;
Options.value.reuse_addr = 1;
_R = PR_SetSocketOption( ServerFD, &Options );
if(_R == PR_FAILURE)
{
Status (ERROR, "Failed to set socket option for 'REUSE ADDRESS'");
PR_Close(ServerFD);
return FAILURE;
}
I am currently developing a HTTP server with NSPR. And i noticed this block of code makes the PR_Accept return failure. What is the problem?