From 4927b6d1b8cba761b26ca0548c21b852ed3b3460 Mon Sep 17 00:00:00 2001 From: Jason Watkins Date: Tue, 14 Apr 2015 10:14:59 -0700 Subject: [PATCH] Fixed Java client implementation of setCONN - The Java client now reads the CONF message sent by the plugin in response to the CONN command. --- Java/src/XPlaneConnect.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Java/src/XPlaneConnect.java b/Java/src/XPlaneConnect.java index 4215038..521abc5 100644 --- a/Java/src/XPlaneConnect.java +++ b/Java/src/XPlaneConnect.java @@ -693,5 +693,6 @@ public class XPlaneConnect implements AutoCloseable inSocket.close(); inSocket = new DatagramSocket(recvPort); inSocket.setSoTimeout(soTimeout); + readUDP(); // Try to read response } }