Socket Connection with Sub context of URL
<p>I used below code to read sub context news from bbc site,but it is throwing UnknownHostException.Any hints please.</p>

<pre><code>try {
            InetAddress addr = InetAddress.getByName("bbc.co.uk/news/");
            int port = 80;

            // This constructor will block until the connection succeeds
            Socket socket = new Socket(addr, port);
        } catch (UnknownHostException e) {
            System.out.println("exception is"+e);
        } catch (IOException e) {
        }
</code></pre>
