0

I have a client-server thing where I am the server and the clients need to connect to me. But the ips on the network change all the time so its not really reliable to hardcode it in the program. How would i go about doing this? Thanks for any answers

Grivai
  • 13
  • 4

1 Answers1

0

You can use UDP to respond first request of the client with TCP ip details to connect server , Every client request must connect first time with the UDP then its establish the TCP connection

Mohan
  • 1
  • 2