Updated on 2026-08-14
This commit is contained in:
parent
692682e750
commit
1fe704da31
3 changed files with 29 additions and 12 deletions
|
|
@ -60,7 +60,8 @@ public class ElectrumTask extends AsyncTask<ElectrumRequest, Integer, List<Elect
|
|||
Log.v(logTag, "Connecting..." + Host);
|
||||
// Socket socket = new Socket(serverAddress, port);
|
||||
Socket socket = new Socket();
|
||||
socket.setSoTimeout(5000);
|
||||
// socket.setSoTimeout(5000);
|
||||
socket.setSoTimeout(10000);
|
||||
socket.bind(new InetSocketAddress(0));
|
||||
socket.connect(new InetSocketAddress(serverAddress, Port));
|
||||
// Log.i("effefefe", host);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue