| dbpprop:abstract
|
- In computer networking, an Internet socket or network socket is the endpoint of a bidirectional inter-process communication flow across an Internet Protocol-based computer network, such as the Internet. Internet sockets (in plural) are an application programming interface (API) application program and the TCP/IP stack, usually provided by the operating system. Internet sockets constitute a mechanism for delivering incoming data packets to the appropriate application process or thread, based on a combination of local and remote IP addresses and port numbers. Each socket is mapped by the operational system to a communicating application process or thread. A socket address is the combination of an IP address (the location of the computer) and a port (which is mapped to the application program process) into a single identity, much like one end of a telephone connection is between a phone number and a particular extension line at that location. An Internet socket is characterized by a unique combination of the following: Protocol. Consequently, TCP port 53 is not the same socket as UDP port 53. Local socket address (Local IP address and port number) Remote socket address (Only for established TCP sockets. As discussed in the Client-Server section below, 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. ) The operating system forwards incoming IP packets to the corresponding application or service process by extracting the socket address information from the IP and transport protocol headers. Within the operating system and the application that created a socket, the socket is referred to by a unique integer number called socket identifier or socket number. In Internet standards, in many textbooks as well as in this article, the term "socket" refers to an entity that is uniquely identified by the socket number. In other textbooks, the socket term refers to a local socket address, i.e. a "combination of an IP address and a port number". In the original definition of socket given in RFC 147 as it was related to the ARPA network in 1971, a socket was "specified as a 32 bit number with even sockets identifying receiving sockets and odd sockets identifying sending sockets. " Today, however, sockets are bidirectional. On Unix-like and Windows NT based operating systems the netstat command line tool can list all currently listening and established sockets and related information.
- Socket designa un concepto abstracto por el cual dos programas (posiblemente situados en computadoras distintas) pueden intercambiarse cualquier flujo de datos, generalmente de manera fiable y ordenada. Un socket queda definido por una dirección IP, un protocolo de transporte y un número de puerto.
- Nei sistemi operativi moderni, un socket è un'astrazione software progettata per poter utilizzare delle API standard e condivise per la trasmissione e la ricezione di dati attraverso una rete oppure come meccanismo di IPC. È il punto in cui il codice applicativo di un processo accede al canale di comunicazione per mezzo di una porta, ottenendo una comunicazione tra processi che lavorano su due macchine fisicamente separate. Dal punto di vista di un programmatore, un socket è un particolare oggetto sul quale leggere e scrivere i dati da trasmettere o ricevere. Ci sono due tipi fondamentali di socket: i socket tradizionali su protocollo IP, usati in molti sistemi operativi per le comunicazioni attraverso un protocollo di trasporto; gli Unix domain socket (detti anche socket locali o socket in dominio Unix), usati nei sistemi operativi POSIX per le comunicazioni tra processi residenti sullo stesso computer. Esistono due tipi di socket su IP: listen, che rappresentano la possibilità di ricevere nuove connessioni. Un socket di questo tipo è identificato dalla terna protocollo di trasporto, indirizzo IP del computer, numero di porta; established, che rappresentano una particolare connessione attiva. Un socket di questo tipo è identificato dalla quintupla protocollo di trasporto, indirizzo IP sorgente, indirizzo IP destinazione, numero di porta sorgente, numero di porta destinazione. I socket sono stati introdotti nel 1983 in BSD e poi sono stati ripresi da praticamente tutti gli altri sistemi operativi. Per questo motivo solitamente le funzioni di programmazione dei socket vengono chiamate Berkeley socket API. Per aprire un socket da DOS o da shell testuale Unix si può utilizzare il comando telnet
- Een internet socket is het communicatie-eindpunt in een internetprotocol-gebaseerd netwerk. Welbekende internet socket-types zijn: datagram socket Een datagram socket is een type socket waarmee datagrammen verzonden of ontvangen kunnen worden zonder eerst een verbinding op te zetten. Binnen het internet is het User Datagram Protocol, waar protocollen zoals TFTP en DNS gebruik van maken, een goed voorbeeld van het gebruik van datagram sockets. stream socket Een stream socket is een type socket waarmee een betrouwbare bytestroom tussen hosts kunnen worden opgezet. Bekende implementaties van stream sockets zijn Transmission Control Protocol en Stream Control Transmission Protocol.
- En internett socket, også kalt nettverks-socket eller socket, er et endepunkt under en toveis interprosess-kommunikasjon, der prosesser kommuniserer over et IP-basert nettverk. Internett er eksempel på et slikt nettverk. En socket er grensesnittet mellom en prosess eller en tråd i et dataprogram og en protokoll-stakk. Protokollen benytter vanligvis TCP/IP i transportlaget, og er som regel styrt av operativsystemet. En internett socket har en unik identifikator, satt sammen av 3-5 elementer: Protokollen Den lokale IP-adressen Det lokale port-nummeret Den fjerne IP-adressen (dersom protokollen er TCP) Den fjerne port-nummeret (dersom protokollen er TCP) Opprinnelig var definisjonen på en socket mye enklere. Innenfor ARPANET ble en socket definert som port-nummeret for protokollen Initial Connection Protocol (ICP) den 7. mai 1971. Operativsystemet videresender innkomne IP-pakker til det korresponderende programmets prosess, ved å hente IP-adressen fra protokollens meldingshode. Kommunikasjon mellom en lokal og fjern socket kalles socket-par. På Unix-liknende operativsystemer, gir kommandoen netstat –an en liste over alle socket som for øyeblikket er etablert. På noen systemer gir kommandoen netstat –b en oversikt over ulike socket som er skapt av brukerprogrammer.
- Gniazdo w telekomunikacji - pojęcie abstrakcyjne reprezentujące dwukierunkowy punkt końcowy połączenia. Dwukierunkowość oznacza możliwość wysyłania i przyjmowania danych. Wykorzystywane jest przez aplikacje do komunikowania się przez sieć w ramach komunikacji międzyprocesowej. Gniazdo posiada trzy główne właściwości: typ gniazda identyfikujący protokół wymiany danych lokalny adres opcjonalny lokalny numer portu identyfikujący proces, który wymienia dane przez gniazdo (jeśli typ gniazda pozwala używać portów) Gniazdo może posiadać (na czas trwania komunikacji) dwa dodatkowe atrybuty: adres zdalny (np. adres IP, IPX, czy Ethernet) opcjonalny numer portu identyfikujący zdalny proces (jeśli typ gniazda pozwala używać portów) Adres IP wyznacza węzeł w sieci, numer portu określa proces w węźle, a typ gniazda determinuje sposób wymiany danych. Jeśli gniazdo używa numerów portów to lokalny numer portu może zostać przydzielony automatycznie i nosi wtedy nazwę efemerycznego numeru portu (ang. ephemeral port number). Lokalny numer portu może też zostać wymuszony przez wykonanie przypisania (ang. bind) gniazdu numeru pożądanego przez twórcę aplikacji. Próba użycia gniazda, które wymaga zdefiniowanego lokalnego numeru portu bez uprzedniego przypisania mu go spowoduje automatyczne przydzielenie numeru efemerycznego przez system operacyjny lub bibliotekę (zależnie od implementacji). Dwie ostatnie właściwości gniazda (lokalny adres i lokalny numer portu) lub dwa dodatkowe atrybuty (zdalny adres, zdalny numer portu) w połączeniu z typem gniazda nazywamy półasocjacją (ang. half-association), ponieważ jest to połowa informacji potrzebnych do zaistnienia komunikacji między dwoma odległymi procesami. Asocjacją (ang. association) zaś nazywamy typ gniazda (determinujący protokół), dwa adresy i dwa numery portów, które stanowią pełną wiedzę pozwalającą na identyfikację komunikujących się poprzez sieć procesów. W systemach typu Unix obsługa gniazd jest implementowana w jądrze, a wykonywanie na nich operacji umożliwiają funkcje systemowe podobne do tych, jakich używa się w stosunku do plików. Nazwę "gniazdo" przejęto od określenia "gniazdo" w elektryczności, czyli element sieci elektrycznej do którego podłącza się urządzenia.
- Soket, TCP/IP'de, veri iletişimi için gereken iki bilgi olan IP adresi ve port numarasının yan yana yazılmasıyla oluşan veri. Örneğin, 192.168.1.1 makinesine 23 numaralı porttan yapılmış olan bir bağlantı 192.168.1.1:23 şeklinde yazılır. Aynı zamanda, programlamada bir makineye bağlantı açıldığında buna "soket açma" denir. Bir soket açılınca, sistem programcıya IP adresi ve port numarasını verdiği için bu isimlendirme ortaya çıkmıştır. Uygulama servisi olan bilgisayarlar başlangıçta soketleri dinlemeyi kurarlar. İletişim halindeki sistemler arasında bir bağlantı kurulduğunda, her bir bağlantı için bir soket oluşturulur. İşletim sistemi gelen IP paketlerini soket adresine göre uygun uygulama veya servise yönlendirir.
|
| rdfs:comment
|
- In computer networking, an Internet socket or network socket is the endpoint of a bidirectional inter-process communication flow across an Internet Protocol-based computer network, such as the Internet. Internet sockets (in plural) are an application programming interface (API) application program and the TCP/IP stack, usually provided by the operating system.
- Socket designa un concepto abstracto por el cual dos programas (posiblemente situados en computadoras distintas) pueden intercambiarse cualquier flujo de datos, generalmente de manera fiable y ordenada. Un socket queda definido por una dirección IP, un protocolo de transporte y un número de puerto.
- Nei sistemi operativi moderni, un socket è un'astrazione software progettata per poter utilizzare delle API standard e condivise per la trasmissione e la ricezione di dati attraverso una rete oppure come meccanismo di IPC. È il punto in cui il codice applicativo di un processo accede al canale di comunicazione per mezzo di una porta, ottenendo una comunicazione tra processi che lavorano su due macchine fisicamente separate.
- Een internet socket is het communicatie-eindpunt in een internetprotocol-gebaseerd netwerk. Welbekende internet socket-types zijn: datagram socket Een datagram socket is een type socket waarmee datagrammen verzonden of ontvangen kunnen worden zonder eerst een verbinding op te zetten. Binnen het internet is het User Datagram Protocol, waar protocollen zoals TFTP en DNS gebruik van maken, een goed voorbeeld van het gebruik van datagram sockets.
- En internett socket, også kalt nettverks-socket eller socket, er et endepunkt under en toveis interprosess-kommunikasjon, der prosesser kommuniserer over et IP-basert nettverk. Internett er eksempel på et slikt nettverk. En socket er grensesnittet mellom en prosess eller en tråd i et dataprogram og en protokoll-stakk. Protokollen benytter vanligvis TCP/IP i transportlaget, og er som regel styrt av operativsystemet.
- Gniazdo w telekomunikacji - pojęcie abstrakcyjne reprezentujące dwukierunkowy punkt końcowy połączenia. Dwukierunkowość oznacza możliwość wysyłania i przyjmowania danych. Wykorzystywane jest przez aplikacje do komunikowania się przez sieć w ramach komunikacji międzyprocesowej.
- Soket, TCP/IP'de, veri iletişimi için gereken iki bilgi olan IP adresi ve port numarasının yan yana yazılmasıyla oluşan veri. Örneğin, 192.168.1.1 makinesine 23 numaralı porttan yapılmış olan bir bağlantı 192.168.1.1:23 şeklinde yazılır. Aynı zamanda, programlamada bir makineye bağlantı açıldığında buna "soket açma" denir. Bir soket açılınca, sistem programcıya IP adresi ve port numarasını verdiği için bu isimlendirme ortaya çıkmıştır.
|