Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package com.e2esp.socket.test; import android.content.SharedPreferences; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import android.preference.PreferenceManager; import android.util.Log; public class TCPClient implements Runnable { public static final String DEFAULT_SERVERIP = "192.168.178.22"; public static final int SERVERPORT = 2001; public static String message = ""; public SharedPreferences prefs; public static final String PREFS_NAME = "MyPrefsFile"; public void run() { try { /*SharedPreferences settings = this. public String server = settings.getString("SERVERIP","DEFAULT_SERVERIP"); settings.*/ InetAddress serverAddr = InetAddress.getByName(DEFAULT_SERVERIP); //InetAddress serverAddr = InetAddress.getByName(); Log.d("TCP", "C: Connecting..."); Socket socket = new Socket(serverAddr, TCPClient.SERVERPORT); //String message = "CHAN +\n"; try { Log.d("TCP", "C: Sending: '" + message + "'"); PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(socket.getOutputStream())),true); BufferedReader in = new BufferedReader(socket.getInputStream()); out.println(message); Log.d("TCP", "C: Sent."); Log.d("TCP", "C: Done."); } catch(Exception e) { Log.e("TCP", "S: Error", e); } finally { socket.close(); } } catch (Exception e) { Log.e("TCP", "C: Error", e); } } }