Tack för all hjälp!
Nu går det inte att skicka men är ansluten till servern. Kan dock vara fel på servern men ni får gärna kolla igenom koden om den ser bra ut i alla fall. 
Kod:
public void write(String text)
{
out.write(text);
if(out.checkError())
printScreen("ERROR!");
}
public void connect()
{
try {
soc = new Socket("XX.XX.XX.XX", 2000);
out = new PrintWriter(soc.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(soc.getInputStream()));
} catch (UnknownHostException e) {
TextView pos = new TextView(this);
pos.setText("UNKNOWN HOST");
setContentView(pos);
} catch (IOException e) {
TextView pos = new TextView(this);
pos.setText("Couldn't get I/O for the connection to: ");
setContentView(pos);
}
}
Tack på förhand!
Ubi