Handbook
Glossary
send ( bytes addrspec datagram -- )
Networking
ยป
Packet-oriented networking
Prev:
<datagram> ( addrspec -- datagram )
Next:
receive ( datagram -- bytes addrspec )
Vocabulary
io
.
sockets
Inputs
bytes
a
byte-array
addrspec
an address specifier
datagram
a datagram socket
Outputs
None
Word description
Sends a packet to the given address.
Errors
Throws an error if the packet could not be sent.
Definition
USING:
io.sockets.private
;
IN:
io.sockets
:
send
( bytes addrspec datagram -- )
check-send
(send)
;
inline