diff options
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java | 1 | ||||
-rw-r--r-- | android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java b/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java index 84f305be9809..a35c1d6d97ba 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java +++ b/android/sdremote/src/org/libreoffice/impressremote/communication/TcpServersFinder.java @@ -95,6 +95,7 @@ class TcpServersFinder implements ServersFinder, Runnable { DatagramPacket aSearchPacket = new DatagramPacket( aSearchCommand.getBytes(), aSearchCommand.length()); + aSearchPacket.setAddress( InetAddress.getByName(Protocol.Addresses.SERVER_SEARCH)); aSearchPacket.setPort(Protocol.Ports.SERVER_SEARCH); diff --git a/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java b/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java index 3ea19ce37124..7cd6033f30bd 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java +++ b/android/sdremote/src/org/libreoffice/impressremote/fragment/ComputersFragment.java @@ -46,7 +46,7 @@ import org.libreoffice.impressremote.communication.Server; import org.libreoffice.impressremote.util.SavedStates; public class ComputersFragment extends SherlockListFragment implements ServiceConnection, Runnable { - private static final int SHOWING_PROGRESS_MESSAGE_DELAY_IN_SECONDS = 10; + private static final int SHOWING_PROGRESS_MESSAGE_DELAY_IN_SECONDS = 3; public static enum Type { WIFI, BLUETOOTH |