Correct ifdef checks for posix and linux fallocate
[fio.git] / examples / netio
index bd44adbe2c172dc476c72e53322bf823bcb1b99d..3b1a7cd93183c70e5a480d7ed4e6adc7f9970536 100644 (file)
@@ -2,7 +2,6 @@
 [global]
 ioengine=net
 #Use hostname=/tmp.fio.sock for local unix domain sockets
-hostname=localhost
 port=8888
 #Use =udp for UDP, =unix for local unix domain socket
 protocol=tcp
@@ -12,8 +11,10 @@ size=10g
 #verify=md5
 
 [receiver]
+listen
 rw=read
 
 [sender]
+hostname=localhost
 startdelay=1
 rw=write