G
Guest
Hi,
I have a Server TCPIP socket open at 192.168.1.100, port 80. When I use an
C++ Client application to connect it ---> It works fine!
However, when I use VB.net with:
=========================================
Dim tcpClient1 As New TcpClient
Dim ipAddress As IPAddress
ipAddress = Dns.Resolve("192.168.1.100").AddressList(0)
Try
tcpClient1.Connect(ipAddress, 80)
Catch ex As Exception
Console.WriteLine(e.ToString())
End Try
==========================================
I built without any errors, but when I execute it, it show errors!
Can any one show me how to do it right?
Many thanks,
I have a Server TCPIP socket open at 192.168.1.100, port 80. When I use an
C++ Client application to connect it ---> It works fine!
However, when I use VB.net with:
=========================================
Dim tcpClient1 As New TcpClient
Dim ipAddress As IPAddress
ipAddress = Dns.Resolve("192.168.1.100").AddressList(0)
Try
tcpClient1.Connect(ipAddress, 80)
Catch ex As Exception
Console.WriteLine(e.ToString())
End Try
==========================================
I built without any errors, but when I execute it, it show errors!
Can any one show me how to do it right?
Many thanks,