Debugging STILL more

This commit is contained in:
Rick Falkvinge
2017-02-19 23:22:09 +01:00
parent 4904affa1c
commit ded244c6fd
+1
View File
@@ -70,6 +70,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
data ["ServerRequest"] = "AddBitcoinAddress";
data["Address"] = address.Address;
socket.Send(data.ToString());
System.Threading.Thread.Sleep(50); // wait 50ms for the ServerRequest to go through
socket.Ping(); // wait a little little while for send to work
socket.Close();
}