io.sockets.windows: get the handle from the handle.

db4
John Benediktsson 2012-05-29 11:20:55 -07:00
parent 51fcae2d8b
commit 2db76ac23c
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ FROM: namespaces => get ;
IN: io.sockets.windows
: set-socket-option ( handle level opt -- )
1 int <ref> dup byte-length setsockopt socket-error ;
[ handle>> ] 2dip 1 int <ref> dup byte-length setsockopt socket-error ;
M: windows addrinfo-error ( n -- )
winsock-return-check ;