meta données pour cette page
  •  

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
communication_par_wifi_entre_capteurs_et_programmes [2021/10/15 10:55] Alexandre Castonguaycommunication_par_wifi_entre_capteurs_et_programmes [2021/10/15 10:57] Alexandre Castonguay
Ligne 36: 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're connectionless because you don't need to have an open connection as in Stream Sockets − you build a packet with the destination information and send it out. They use UDP (User Datagram Protocol).
  
 **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. **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.