How can I as a server make distinctions between a TcpClient that connects to me? As a Client, do I always have to send a username or something from which the server can know who I am?
I typicly use data transmited client side to the serve to identify the client. Identifiers i use are :
Lan and Wan ip addresses, computername, username, operating system,
in addition to your comments i would like to suggest creating a client class inside the server that handles variables that have already been transmited by the client so you don't have to resend username and so on
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With