Client and server terminology

I always confuse these two concepts. How do you determine which side is the server and which side is the client? Is it determined by sending or receiving data? (Assuming the connection goes one way)

Thank,

+5
source share
3 answers

In TCP, it is determined by the party that initiated the connection. The client initiates the connection, and the server listens and accepts the connection. Once connected, data can flow in both directions.

+9
source

Definitions:

Server-side , - . , , ​​ -, , .

Client-side , - . , , -, .

enter image description here

+3

, , .

, , , , .

+1

All Articles