io.sockets.windows: get the handle from the handle.
parent
51fcae2d8b
commit
2db76ac23c
|
@ -9,7 +9,7 @@ FROM: namespaces => get ;
|
||||||
IN: io.sockets.windows
|
IN: io.sockets.windows
|
||||||
|
|
||||||
: set-socket-option ( handle level opt -- )
|
: 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 -- )
|
M: windows addrinfo-error ( n -- )
|
||||||
winsock-return-check ;
|
winsock-return-check ;
|
||||||
|
|
Loading…
Reference in New Issue