Re: iperf multicast problem on Win32


Hey Ryan,
 Have you actually tried using the multicast address on Win32? It does 
work, but getsockname() returns the local address not the multicast 
address. There is already a huge amount of workarounds in the code to work 
in Win32 and changing this behavior is not a big priority to add more. I 
have used multicast several times with Win32 and had no problems.

Good luck,
Kevin

> >Date: Thu, 25 Mar 2004 14:31:21 -0800
> >To: dast --at-- nlanr.net
> >From: Ryan Barrans <rbarrans --at-- real.com>
> >Subject: iperf multicast problem on Win32
> >
> >I'm finding iperf 1.7.0 unable to bind to multicast addresses on Win32 (NT 
> >or Win2K).  If I use the "-B" option with a multicast address, it still 
> >binds to the local address.  It is working fine on Linux, and I did not see 
> >anything about this in the KNOWN_PROBLEMS file.
> >
> >Example from Win32:
> >C:\Temp\iperf>iperf -s -u -B 239.0.0.1
> >------------------------------------------------------------
> >Server listening on UDP port 5001
> >Binding to local address 172.23.100.254
> >Receiving 1470 byte datagrams
> >UDP buffer size: 8.0 KByte (default)
> >------------------------------------------------------------
> >
> >I would expect it to bind to the multicast address and join the multicast 
> >group like it does on Linux.  Please advise if there is a fix or 
> >workaround.  Thank you. 



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index