DD1984 / sockperf

Automatically exported from code.google.com/p/sockperf
Other
1 stars 0 forks source link

Add capabilities to bind client to specific if (local ip address) #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
similar to the '--client_port' flag support

Original issue reported on code.google.com by rosenbau...@gmail.com on 29 Jan 2013 at 8:38

GoogleCodeExporter commented 9 years ago
r198 | rosenbaumalex@gmail.com | 2013-01-29 17:08:46 +0200 (Tue, 29 Jan 2013) | 
10 lines
Changed paths:
   M /branches/sockperf_v2/src/Client.cpp
   M /branches/sockperf_v2/src/Defs.h
   M /branches/sockperf_v2/src/SockPerf.cpp

Add capabilities to bind client to specific if (local ip address)
Fixes: http://code.google.com/p/sockperf/issues/detail?id=41

See: '--client_ip' in sockperf pp --help
Using '--client_ip=1.1.1.36' will cause sockperf client to call 
"bind(1.1.1.36:0)".
Use this with the '--client_port' flag.
This works on sockperf client ping-pong, throughput, and underload tests.

Original comment by rosenbau...@gmail.com on 29 Jan 2013 at 3:09