1 ! Copyright (C) 2012 Eungju PARK.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: byte-arrays calendar destructors formatting kernel math
4 namespaces random zeromq zeromq.ffi ;
5 IN: zeromq.examples.wuserver
10 ZMQ_PUB <zmq-socket> &dispose
11 dup "tcp://*:5556" zmq-bind
12 dup "ipc://weather.ipc" zmq-bind
20 >byte-array 0 zmq-send