send-once ( bytes addrspec -- )


Vocabulary
io.sockets

Inputs
bytesa byte-array
addrspecan address specifier


Outputs
None

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