id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,difficulty 1017,socket-receive blocks for connectionless sockets,Jim Ursetto,Jim Ursetto,"klm identified a bug in the socket egg; nonblocking mode is only set during a socket-connect or socket-accept, which won't be called for UDP. Test case attached. Temporary workaround: (use posix) and then, after creating the socket, do either: (##sys#file-nonblocking! (socket-fileno *socket*)) or equivalently (file-control fcntl/setfl (socket-fileno *socket*) (bitwise-ior (file-control fcntl/getfl (socket-fileno *socket*)) open/nonblock)) Neither workaround will work on Windows. Permanent fix: We should probably make all sockets nonblocking at creation time instead, since our machinery assumes nonblocking sockets. We could expose the set-nonblocking operation to the user, but since TCP is always nonblocking, doing this only for UDP would be strange. ",defect,closed,major,someday,extensions,,fixed,socket egg,,