[System] Updated SocketTest.TcpDoubleBind.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 16 Sep 2015 15:21:29 +0000 (16:21 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Thu, 17 Sep 2015 11:22:24 +0000 (12:22 +0100)
commit59c72654f216127034135fc1d7280177ae67543a
treeee0758bbf57908786eab639369162fbdadec4bf7
parent79d28a7ba2374c9aebf6d8fa31a8ae2eb7387067
[System] Updated SocketTest.TcpDoubleBind.

Multiple threads listening to the same address and port are not possible
before linux 3.9 kernel, where the socket option SO_REUSEPORT was
introduced.

This commit makes TcpDoubleBind sensible to this OS capability.
mcs/class/System/Test/System.Net.Sockets/SocketTest.cs