meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
communication_par_wifi_entre_capteurs_et_programmes [2021/10/15 10:38] – Alexandre Castonguay | communication_par_wifi_entre_capteurs_et_programmes [2021/10/16 01:37] (Version actuelle) – Alexandre Castonguay | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
== Définitions == | == Définitions == | ||
- | **Wi-Fi** : | + | **Wi-Fi** : " |
**Internet Protocol** : The network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, | **Internet Protocol** : The network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, | ||
- | IP has the task of delivering packets from the source host to the destination host solely based on the IP addresses in the packet headers. For this purpose, IP defines packet structures that encapsulate the data to be delivered. It also defines addressing methods that are used to label the datagram with source and destination information. | + | **IP** has the task of delivering packets from the source host to the destination host solely based on the IP addresses in the packet headers. For this purpose, IP defines packet structures that encapsulate the data to be delivered. It also defines addressing methods that are used to label the datagram with source and destination information. |
- | **TCP** (Transmission Control Protocol) : Un protocole de transport fiable, en mode connecté, documenté dans la RFC 793 de l' | ||
**IP Address** : is a numerical label such as 192.168.0.1 that is connected to a computer network that uses the Internet Protocol for communication | **IP Address** : is a numerical label such as 192.168.0.1 that is connected to a computer network that uses the Internet Protocol for communication | ||
Ligne 13: | Ligne 12: | ||
**Port** : Un port est un point d' | **Port** : Un port est un point d' | ||
- | Traditionnellement les ports logiciels sont utilisés par les protocoles TCP (Transmission Control Protocol) et UDP (User Datagram Protocol). Ces protocoles ont besoin d'un seul port pour un trafic full-duplex. | + | Traditionnellement les ports logiciels sont utilisés par les protocoles TCP (Transmission Control Protocol) et UDP (User Datagram Protocol). Ces protocoles ont besoin d'un seul port pour un trafic full-duplex. Un site web est ainsi visible sur le port 80. |
+ | |||
+ | **TCP** (Transmission Control Protocol) : Un protocole de transport fiable, en mode connecté, documenté dans la RFC 793 de l' | ||
+ | |||
+ | **UDP** (User Datagram Protocol) : Un protocole de communication utilisé sur Internet. On le traduit en français par protocole de datagramme utilisateur. Typiquement, | ||
+ | |||
+ | **HTTP** The Hyper Text Transfer Protocol is a stateless which is used to transfer information over the web. Protocol has various standards which every information exchange transaction follow. | ||
Différents modes de liaison de données : | Différents modes de liaison de données : | ||
Ligne 31: | Ligne 36: | ||
An endpoint is a combination of an **IP address** and a **port** number. Every TCP connection can be uniquely identified by its two endpoints. That way you can have multiple connections between your host and the server. | An endpoint is a combination of an **IP address** and a **port** number. Every TCP connection can be uniquely identified by its two endpoints. That way you can have multiple connections between your host and the server. | ||
+ | |||
+ | **Stream Sockets** − Delivery in a networked environment is guaranteed. If you send through the stream socket three items "A, B, C", they will arrive in the same order − "A, B, C". These sockets use TCP (Transmission Control Protocol) for data transmission. If delivery is impossible, the sender receives an error indicator. Data records do not have any boundaries. | ||
+ | |||
+ | **Datagram Sockets** − Delivery in a networked environment is not guaranteed. They' | ||
+ | |||
+ | **Websockets** : Websocket has it’s own protocol ws:// and wss:// web socket protocol and web socket secure protocol. Since it is given as a proxy over HTTP it also uses port 80 and 443 as used by HTTP. | ||
+ | This web socket proxy is applied over the HTTP during the initial handshake between the client and the server. | ||
Sources : http:// | Sources : http:// | ||