I have been using several apps including StackExchange Chat (https://chat.stackoverflow.com/).
Let say I open https://chat.stackoverflow.com/ and start chatting, after few messages, I change my computer's IP, but after that, I am still able to receive messages.
How does the server know that a particular client was connected to it and it sent message?