Altera_Forum
Honored Contributor
14 years agoProblem with fcntl
Hi all,
I've a little problem with UDP socket (based on Interniche Stack). I want set the option "O_NONBLOCK" in my socket, but when I retrieve the socket options from socket with flags =fcntl(sock,F_GETFL); flags is "-1" (not correct) :cool: but the enviroment variable errno is "0".:eek: Non error occurred during socket creation. any suggestion? :confused: Thankx