add SocketMethods#kgio_addr!
commitc8fb5aa33262a455997ff6a57659a8d125f36d66
authorEric Wong <normalperson@yhbt.net>
Thu, 3 Feb 2011 22:28:11 +0000 (3 14:28 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 3 Feb 2011 22:28:11 +0000 (3 14:28 -0800)
tree4d97b1854fa3d1703fb8d9542d7584bdb7c303b9
parentcff0dd2f73acc73f721b2a589af9e37baedd2489
add SocketMethods#kgio_addr!

This refreshes (or sets) the @kgio_addr ivar for sockets
that didn't go through kgio_accept or kgio_tryaccept.
ext/kgio/accept.c
test/test_kgio_addr.rb [new file with mode: 0644]