Answers for "c socket SO_REUSEADDR"

0

c socket SO_REUSEADDR

if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &(int){1}, sizeof(int)) < 0)
    error("setsockopt(SO_REUSEADDR) failed");
Posted by: Guest on May-17-2020

Browse Popular Code Answers by Language