Iperf does a connect with the UDP socket first….then sends() to a specific 
address

Sendto ( broadcast ) is way slower than send()…..in Linux and Windows

From: Bob McMahon [mailto:bob.mcma...@broadcom.com]
Sent: Thursday, January 12, 2017 5:48 PM
To: Hoshall, Paul
Cc: iperf-users@lists.sourceforge.net; Gibbs, James
Subject: Re: [Iperf-users] When will real UDP, connectionless (sendto(), 
recvfrom(), broadcast) be iperf'd?

Not sure why this is needed.  I think a UDP socket with bind() using send() is 
equivalent to sendto() with respect to both being connectionless at the network 
layer.  Are you trying to test system or OS calls?  If not, I think a bind for 
UDP should be fine.

Bob


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to