Handbook
Glossary
<datagram-pool> ( addrspec -- pool )
Connection pools
Prev:
datagram-pool
Vocabulary
io
.
pools
Inputs
addrspec
an address specifier
Outputs
pool
a
datagram-pool
Word description
Creates a new
datagram-pool
. The port number of the
addrspec
should be 0, otherwise creation of more than one datagram socket will raise an error.
Examples
f 0 <inet4> <datagram-pool>
Definition
USING:
accessors
kernel
;
IN:
io.pools
:
<datagram-pool>
( addrspec -- pool )
datagram-pool
<pool>
swap
>>addrspec
;