Question how to sent port number to client aftect changing port

NETANEL.S

Member
Joined
Feb 14, 2019
Messages
21
Programming Experience
3-5
I developed an application that works on port 5000 and several other ports, how to update the client that I changed the port. I need examples between client side and server side.

--
thanks
netanel
 
A port number is just a number, so you would transmit it just like you would any other data. Of course, you would need to transmit it before you stop using the old port because you wouldn't be able to transmit anything to the client otherwise. I think you need to be more specific about your issue. Why do you think that transmitting this data is different to any other? Are you saying, without actually saying, that you have already stopped using the old port? In that case you can't transmit anything. You'd have to send the port number through some other means, e.g. email or a web site, and have the user update the app manually.
 
Back
Top Bottom