In this example the Factor instance associated with port 9000 will run a thread that receives and prints messages in the listener. The code to run the server is:
The send word is used to send messages to threads. If an instance of remote-thread is provided, then the message is marshalled to the named thread on the given machine using the serialize vocabulary.
Running this code should show the message "hello" in the first Factor instance.
Note: send-synchronous can only work if local-node is assigned (use start-node), because there must be a server for the remote instance to send its reply to.