]> gitweb.factorcode.org Git - factor.git/commitdiff
Windows doesn't like 0 f <inet4>. See issue #85.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 8 Sep 2011 21:47:12 +0000 (14:47 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 8 Sep 2011 22:49:08 +0000 (15:49 -0700)
extra/benchmark/echo/echo.factor

index 13ae0d2c9ac7dab134025f3f70a39555c7c9e529..c5c0dab2141e6a18b14aed665301a8571e217eb9 100644 (file)
@@ -12,8 +12,8 @@ IN: benchmark.echo
 : udp-echo ( -- )
     [
         10000 iota [ 4 >be ] map
-        f 0 <inet4> <datagram>
-        f 0 <inet4> <datagram>
+        "127.0.0.1" 0 <inet4> <datagram>
+        "127.0.0.1" 0 <inet4> <datagram>
         [ send/recv ] 2curry each
     ] with-destructors ;