Handbook
Glossary
with-any-port-local-datagram ( quot -- )
Vocabulary
io
.
sockets
Inputs
quot
a
quotation
Outputs
None
Word description
Creates a datagram socket and calls the quotation with this datagram on top of the stack, cleaning up afterwards.
Definition
USING:
destructors
kernel
;
IN:
io.sockets
:
with-any-port-local-datagram
( quot -- )
[
dup
<any-port-local-datagram>
]
dip
with-disposal
;
inline