Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
send ( packet addrspec datagram -- )
Networking
>
Packet-oriented networking
Prev:
<datagram> ( addrspec -- datagram )
Next:
receive ( datagram -- packet addrspec )
Vocabulary
io.sockets
Inputs and outputs
packet
a
byte-array
addrspec
an address specifier
datagram
a datagram socket
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
( packet addrspec datagram -- )
check-send
(send)
;
inline