X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-client.git/blobdiff_plain/6a62329fa573cd519cc36b6d491a7cdcc3261e01..a31735dcee7258bfa479950bccd356c68b83d631:/RfbProto.java?ds=sidebyside diff --git a/RfbProto.java b/RfbProto.java index 1ca25c0..c0f500a 100644 --- a/RfbProto.java +++ b/RfbProto.java @@ -208,11 +208,13 @@ class RfbProto { port = p; if (viewer.socketFactory == null) { + System.out.println("Null socketFactory"); sock = new Socket(host, port); } else { try { Class factoryClass = Class.forName(viewer.socketFactory); SocketFactory factory = (SocketFactory)factoryClass.newInstance(); + System.out.println("Using socketFactory " + factory); if (viewer.inAnApplet) sock = factory.createSocket(host, port, viewer); else @@ -236,7 +238,7 @@ class RfbProto { try { sock.close(); closed = true; - System.out.println("RFB socket closed"); + System.out.println("RFB socket closed " + sock); if (rec != null) { rec.close(); rec = null;