Opened 11 years ago

Closed 11 years ago

#519 closed defect (fixed)

make-socket on Windows does not work for UDP sockets

Reported by: hans Owned by: rme
Priority: normal Milestone:
Component: project hosting Version: 1.3
Keywords: Cc:


With the trunk version of CCL on Windows Vista, (make-socket :type :datagram :remote-host "" :remote-port 6038) fails in setsockopt because the "linger" option is not supported. I am attaching a patch that works for me.

Attachments (1)

patch.txt (506 bytes) - added by hans 11 years ago.
Patch for make-socket on windows.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by hans

Patch for make-socket on windows.

comment:1 Changed 11 years ago by rme

  • Owner changed from gb to rme
  • Status changed from new to assigned

I think Windows is just being picky about refusing to set linger options on connectionless sockets.

comment:2 Changed 11 years ago by rme

  • Resolution set to fixed
  • Status changed from assigned to closed

As of r12165, we only try to set linger options if the socket is a tcp socket.

Note: See TracTickets for help on using tickets.