Project

General

Profile

Actions

Bug #1662

closed

1.8.6 + windows + udp socket + ctrl +c -> hang

Added by rogerdpack (Roger Pack) almost 15 years ago. Updated about 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
[ruby-core:23938]

Description

=begin
This code

require 'socket'
addr = ['', 33333] # host, port
UDPSock = UDPSocket.new
UDPSock.bind(addr[0], addr[1])
data, addr = UDPSock.recvfrom(1024)

when run in windows [run it, then hit ctrl+c]
results in a hang, at least for one version of ruby.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0