Changed logging, so that it includes the listening socket's IP address

as well

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-09-05 15:48:07 +02:00
parent d474bb6682
commit 99e6e89c13
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class TcpProxy {
public void serve() throws IOException {
try {
ss = new ServerSocket(listenPort, 50, InetAddress.getLocalHost());
Log.d("SSLDroid", "Listening for connections on port "
Log.d("SSLDroid", "Listening for connections on "+InetAddress.getLocalHost().getHostAddress()+":"+
+ this.listenPort + " ...");
} catch (Exception e) {
Log.d("SSLDroid", "Error setting up listening socket: " + e.toString());