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...

VB Code:
  1. Try
  2.             tcpC.Connect("http://anything.com.sg", 12345)
  3.         Catch e As Exception
  4.             Console.WriteLine(e.ToString())
  5.         End Try

Thanks