Answer the question
In order to leave comments, you need to log in
The principle of operation of tcp client server, how to specify for which functionality the command goes?
Tell me how to send incoming traffic and determine what it is intended for?
I have two clients they communicate through the server.
client1 -> sends login and password to client2 - through the server
client2 -> answers that the login password is correct and sends the answer through the server to client1
, the key comes to client1.
and the functionalad can be about 10 positions. how can I show both clients and server where everything goes?
client1.send(admin,admin) -> (server) -> client2(accepted, check)
client2.send(status OK) -> (server) {session key} -> client1(accepted session key)
there can be many different commands .
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question