send-once ( bytes addrspec -- )


Vocabulary
io.sockets

Inputs and outputs
bytesa byte-array
addrspecan address specifier


Examples
Send a datagram to localhost, port 7777:
USING: io.sockets prettyprint ; B{ 1 2 3 } f 7777 <inet4> send-once


Word description
Sends a packet one time to the address and closes the sending datagram port.

Definition