I have searched over the internet, for a method to use TcpClient Class in VB.NET 2008 with server that has Ipv6 address.
On MSDN website at this page:
Microsoft said about TcpClient Constructor (): 'This constructor works only with IPv4 address types.'
On short, it looked like was impossible to use TcpClient from VB.NET to connect to an Ipv6 address.
After more searches I found a Microsoft example that was modifying the TcpClient Class to achieve the connection goal for both Ipv4 and Ipv6 addresses.
The modified Microsoft TcpClient Class example is on those pages:
but both example are written in C#. Would you please help me with a vb.net version of this code ?
Please note that all code converters I tried so far, did not produce a working VB.NET 2008 code.
Thank you in advance.