How do you determine if the client connects?
in
Core Library Questions
•
1 year ago
I have made a button you click and it calls
void connectClient()
{
myClient = new Client(this, "192.168.0.101", 4000);
}
{
myClient = new Client(this, "192.168.0.101", 4000);
}
What I want to do is check if the connection works and also put a loading on the screen or something while it is working.
Reason I would like to do this is so you can put the IP in the software and hit connect.
I would very much appreciate help on how to do this.
1