Kgio::Socket.new retains compatibility with Socket.new
commit7a3fc55424338ad458cc719d4cb3c4e28802d5cb
authorEric Wong <normalperson@yhbt.net>
Thu, 13 Dec 2012 00:02:50 +0000 (13 00:02 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 13 Dec 2012 00:09:53 +0000 (13 00:09 +0000)
treee2d30f94072e448c6b71736b97a5cb2f99b9afe3
parent48fc432a3b9dfd2b0435f0975556d4a321a5239b
Kgio::Socket.new retains compatibility with Socket.new

This allows us to create an unconnected socket, just like
the normal Socket class it inherits from.
ext/kgio/connect.c
test/test_socket.rb [new file with mode: 0644]