Mercurial > hg > Members > riono > TreeVNC_ja_comment
comparison src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommandChannelListener.java @ 490:141f627665ab
fix display
author | oshiro |
---|---|
date | Wed, 30 Jan 2019 20:49:39 +0900 |
parents | 344a35b7c47f |
children |
comparison
equal
deleted
inserted
replaced
489:f06b0d50e4e2 | 490:141f627665ab |
---|---|
98 public TreeVncCommand initialConnection(TreeRFBProto myRfbProto, final Writer os, final Reader is, Socket connection) | 98 public TreeVncCommand initialConnection(TreeRFBProto myRfbProto, final Writer os, final Reader is, Socket connection) |
99 throws IOException, TransportException { | 99 throws IOException, TransportException { |
100 /** | 100 /** |
101 * initial connection of RFB protocol | 101 * initial connection of RFB protocol |
102 */ | 102 */ |
103 rfb = myRfbProto; | |
103 InetAddress adr = connection.getLocalAddress(); | 104 InetAddress adr = connection.getLocalAddress(); |
104 String myHostAddress = adr.getHostAddress(); | 105 String myHostAddress = adr.getHostAddress(); |
105 String intf = NetworkInterface.getByInetAddress(adr).getName(); | 106 String intf = NetworkInterface.getByInetAddress(adr).getName(); |
106 sendRfbVersion(os); | 107 sendRfbVersion(os); |
107 byte[] b; | 108 byte[] b; |