김태오

Socket 본문

Networking

Socket

ystc1247 2023. 4. 24. 07:49

Socket = IP Address + Port Number

 

Interface: A socket is an endpoint in a network communication system, providing an interface for data exchange between two devices or programs over a network.
Protocol Support: Sockets support various communication protocols, with the most common being TCP/IP (Transmission Control Protocol/Internet Protocol) and UDP (User Datagram Protocol).
Addressing: Each socket is identified by an IP address and a port number, which enables proper routing of data between different devices on a network.
Types: Sockets can be classified into two main types - stream sockets (reliable, connection-oriented, and based on TCP) and datagram sockets (unreliable, connectionless, and based on UDP).
Applications: Sockets are widely used in networking applications, enabling communication between clients and servers, as well as data transfer between different processes on the same or different devices.

 

'Networking' 카테고리의 다른 글

Multiplexer , Demultiplexer  (0) 2023.04.24
IP Address vs. Port Number  (0) 2023.04.24
OSI 7 Layer  (0) 2023.04.14
CDMA(Code Division Multiple Access)  (0) 2023.04.14
Packets and Frames  (0) 2023.04.14