Skip to main content

Wiki Socket

Terms of sockets in socket programming,

  • On the server side:
    • The socket responsible for listening and accepting incoming connections is commonly referred to as the "server socket".
    • The individual sockets created for each accepted connection, responsible for data exchange with the connected clients, are often referred to as "client socket" (or simply "socket").
  • On the client side:
    • The socket responsible for initiating a connection to the server and handling data exchange is commonly referred to as the "client socket" or "socket"

In summary:

  • Server Side:
    • Listening Socket: "Server Socket"
    • Data Exchange Sockets (for each connection): "Client Socket" or just "Socket"
  • Client Side:
    • Data Exchange Socket: "Client Socket" or just "Socket"

Resources

Transports and Protocols — Python 3.12.1 documentation

selectors — High-level I/O multiplexing — Python 3.12.1 documentation

socket — Low-level networking interface — Python 3.12.1 documentation