linux:socket(address already in use)
when i run my socket program i ve received the error "address already in use". so i tried the following
if ( setsockopt(s, SOL_SOCKET, SO_REUSEADRR, 1, sizeof(int)))
error ("setsockopt failed");
now i ve received the error "
SO_REUSEADRRâ undeclared (first use in this function)"
how can solve my problem?