*** - Internal error: statement in file "rawsock.c", line 1362 has been reached!!
(let ((socket (rawsock:socket :inet :dgram 0)))
(setf (rawsock:socket-option socket LINUX:O_NONBLOCK) t))
bug report info.
Notice that O_NONBLOCK seems to be a valid option for sockets, since it's mentionned in
If no messages are available at the socket and O_NONBLOCK is not set on the socket's file descriptor, recvfrom() shall block until a message arrives. If no messages are available at the socket and O_NONBLOCK is set on the socket's file descriptor, recvfrom() shall fail and set errno to [EAGAIN] or [EWOULDBLOCK].
why do you expect setsockopt to accept O_NONBLOCK?
this is a fcntl option, so you want to use posix:stream-options
alas, it it not setfable yet
actually, it is setfable!
(posix:stream-options socket :NONBLOCK t)
This bug report is now marked as "pending"/"invalid".
This means that we think that the problem you report is not a problem with CLISP.
Unless you - the reporter - act within 2 weeks, the bug will be permanently closed.
Sorry about the inconvenience - we hope your silence means that you agree that this is not a bug in CLISP.
Ok. I didn't realize it was fcntl. Sorry for the noise.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.