HandshakeV1
HandshakeV1 protocol is used for user-server authentication when establishing connection. It uses Token-based authentication (TBA) to ensure that user credentials, particularly passwords, are transmitted securely.
Step-by-Step Process:
Client sends connection request to server socket.
Server receives it and start HandshakeV1 by sending WelcomePacket to client.
Client receives it, uses it`s data to create ResponsePacket.
Server then receives it and validates the data. If data is valid OkayPacket is sent to client in any other case ErrorPacket is sent to client.
Last updated