http://bugs.winehq.org/show_bug.cgi?id=33798
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-06-14 12:51:22 CDT --- OK, the example runs now. I was linking to the wrong library...
Let me see if I get this right. The example "as is" must work in both windows and wine, that is working for me.
Then I changed the bind address on the receive program to a specific interface address, it works in windows. In kernel <= 3.2 I get an interface bind error.
In kernel 3.10 it works in wine. But I'm only using a single computer to test, maybe in your scenario you have 2 or more computers.