Mercurial > hg > Applications > TreeVNC
changeset 554:1a7cf34b42b2
merge
author | e165729 <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 30 Jan 2020 00:06:46 +0900 |
parents | 214ebc49b5bd (diff) ff4c1972aa2e (current diff) |
children | 8f84d261449e |
files | |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/BroadcastRFBListener.java Wed Jan 29 19:40:46 2020 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/BroadcastRFBListener.java Thu Jan 30 00:06:46 2020 +0900 @@ -58,7 +58,8 @@ while (!stopFlag) { try { byte[] buf = new byte[BufSize]; - DatagramPacket recvPacket = new DatagramPacket(buf, BufSize); soc.receive(recvPacket); + DatagramPacket recvPacket = new DatagramPacket(buf, BufSize); + soc.receive(recvPacket); String hostname = recvPacket.getAddress().getHostAddress(); byte[] reply = recvPacket.getData(); int len = recvPacket.getLength();