Skip to content

Commit

Permalink
2022.05.20
Browse files Browse the repository at this point in the history
  • Loading branch information
UserX authored and UserX committed May 22, 2022
1 parent 81debd5 commit ef7ab1b
Show file tree
Hide file tree
Showing 5 changed files with 391 additions and 236 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdk 24
targetSdk 32
versionCode 4
versionName "202205.1"
versionName "202205.20"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void startsearch(){
public void stopsearch(){
mthread.interrupt();
try {
Thread.sleep(500);
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
Expand Down Expand Up @@ -84,7 +84,7 @@ public void Udpreceive(){
try {
String sendData = "FindService";
byte[] data = sendData.getBytes();
DatagramPacket packet = new DatagramPacket(data, data.length, ipBroad, 62231); //③
DatagramPacket packet = new DatagramPacket(data, data.length, ipBroad, 58974); //③
socket2.send(packet);
socket2.close();
} catch (Exception e) {
Expand Down
Loading

0 comments on commit ef7ab1b

Please sign in to comment.