toytoy
March 7th, 2005, 11:43 PM
How to connect using url instead of IP address..
I try using the url instead of IP but the error given is
The data at the root level is invalid, Line 1 position 1...
I even try to delete the "http://" and put in "anything.com.sg" but still cannot works the error is still the same...
Try
tcpC.Connect("http://anything.com.sg", 12345)
Catch e As Exception
Console.WriteLine(e.ToString())
End Try
Thanks
I try using the url instead of IP but the error given is
The data at the root level is invalid, Line 1 position 1...
I even try to delete the "http://" and put in "anything.com.sg" but still cannot works the error is still the same...
Try
tcpC.Connect("http://anything.com.sg", 12345)
Catch e As Exception
Console.WriteLine(e.ToString())
End Try
Thanks