Last active
August 29, 2015 14:10
-
-
Save maximvl/f3cbeaaabab7dc2fa502 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo-protocol: make root-protocol [ | |
| port-flags: system/standard/port-flags/pass-thru | |
| sys-copy: get in system/words 'copy | |
| copy: func [ port /local reponse ] [ | |
| t1: now/time/precise | |
| reponse: sys-copy "" | |
| insert port/sub-port "hello" | |
| read-io port/sub-port reponse 5 | |
| (now/time/precise - t1) | |
| ] | |
| net-utils/net-install echo self 7 | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment