Handbook
Glossary
start-broadcast-server ( ip port -- obj )
Vocabulary
broadcast-server
Inputs
ip
an
object
port
an
object
Outputs
obj
an
object
Definition
USING:
accessors
destructors
io.sockets
kernel
;
IN:
broadcast-server
:
start-broadcast-server
( ip port -- obj )
[
<broadcast-server>
dup
receive-inet4>>
<datagram>
|dispose
>>receive-socket
dup
broadcast-inet4>>
<any-port-local-broadcast>
|dispose
>>broadcast-socket
[
receive-loop
]
[
send-loop
]
[
]
tri
]
with-destructors
;