tcp socket in android 3.0
<p>I have a little problem with sockets. In Android 2.0 its working very well but when I create project with Android 3.0 API it throws errors and don't work. Are there big changes in using socket in 3.x API ? </p>

<p>My code is quite simple:  </p>

<pre><code>try {
    Nsocket = new Socket("192.168.1.101", 2000);
    dataOutputStream = new DataOutputStream(Nsocket.getOutputStream());
    dataInputStream = new DataInputStream(Nsocket.getInputStream());
    Nsocket.setSoTimeout(150);            
}
catch(UnknownHostException en) {
}
catch(IOException en) {
}
finally {
}
</code></pre>

<p>Thanks for help.</p>
