Socket requestSocket = new Socket(a, 6666);
When I try to connect with serwer and server is unavailable I gave to wait 1 min or more to see ja
va.net.ConnectException: failed to connect to /192.168.43.50 (port 6666): connect failed: ETIMEDOUT (Connection timed out)
09-14 08:36:02.705 3244-3345/net.simplifiedcoding.navigationdrawerexample W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:114)
How can I set lower time to try connect with server ?