lib/socket/tcp_socket.rb in rubysl-socket-2.1.2 vs lib/socket/tcp_socket.rb in rubysl-socket-2.1.3
- old
+ new
@@ -88,9 +88,10 @@
RubySL::Socket::Foreign.close(descriptor)
Errno.handle('connect(2)')
else
IO.setup(self, descriptor, nil, true)
+ binmode
end
end
def local_address
address = addr