WikiPedia, Network Socket
Network Socket, Internet Protocol, Internet
A n______ s_____ is the endpoint of an inter-process communication flow across a computer network. Today, most communication between computers is based on the I_______ P_______ (IP); therefore most network sockets are I_______ sockets.
application programming interface
A socket API is an a__________ p__________ i________ (API), usually provided by the operating system, that allows application programs to control and use network sockets. Internet socket APIs are usually based on the Berkeley sockets standard.
telephone connection, phone number, extension, application
A socket address is the combination of an IP address and a port number, much like one end of a t________ c_________ is the combination of a p____ n_____ and a particular e________. Based on this address, internet sockets deliver incoming data packets to the appropriate a__________ process or thread.
Protocol
A transport protocol (e.g., TCP, UDP, raw IP, or others). TCP port 53 and UDP port 53 are consequently different, distinct sockets.
Local socket address, Remote socket address, Protocol
An Internet socket is characterized by a unique combination of the following: - L____ s_____ a_____ - R____ s_____ a_____ - P_______
Datagram sockets
D________ s_______, also known as connectionless sockets, which use User Datagram Protocol (UDP).
Local socket address
Local IP address and port number
netstat
On Unix-like and Microsoft Windows based operating systems the n______ command line tool may be used to list all currently established sockets and related information.
Remote socket address
Only for established TCP sockets. This is necessary since a TCP server may serve several clients concurrently. The server creates one socket for each client, and these sockets share the same local socket address from the point of view of the TCP server.
Raw sockets
R__ s______ (or R__ IP s______), typically available in routers and other network equipment. Here the transport layer is bypassed, and the packet headers are made accessible to the application.
Stream sockets
S_____ s_____ - also known as connection-oriented sockets, which use Transmission Control Protocol (TCP) or Stream Control Transmission Protocol (SCTP).
socket address
The combination of an IP address and a port number.
extracting, stripping
The operating system forwards the payload of incoming IP packets to the corresponding application by e_________ the socket address information from the IP and transport protocol headers and s_______ the headers from the application data.
socket descriptor
Within the operating system and the application that created a socket, a socket is referred to by a unique integer value called a s_____ d_________.