+ request->peer.name = NULL;
+ request->peer.port = 0;
+
+
+ /* Size autodetection on need */
+ if (!msg_size) {
+ double bw;
+ double sec;
+ amok_bw_test(peer_cmd,
+ 0, /* check buffsize yourself */
+ 512*1024, /* 512k as first guess */
+ 1, /* One packet only */
+ 1, /* at least one sec */
+ &sec, &bw);
+ msg_size = request->msg_size = (int)bw;
+ DEBUG1("Saturate with packets of %d bytes",request->msg_size);
+ }
+
+ /* Launch the saturation */