[Mono-list] Question about TcpListener Completeness
m at silvenga.com
Thu May 8 22:26:58 UTC 2014
I'm attempting to use the TcpListener class to listen on both IPv4 and IPv6. According to a Microsoft blog we must create two TcpListener listeners for the two IP versions. This fails when I attempt to listen for v6/v4 at the same time on the same port.
Therefore the recommended alterative for .4.5 and up is to use the static factory "TcpListener.Create(int port)". This should listen on both v4 and v6 at the same time while using only one TcpListener.
However, this function appears missing in Mono. Is there an alternative to listen on both stacks while binding to the same port?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list