2023-05-15 12:31:30 +01:00

1.2 KiB

title
Transports in Waku

Transports facilitate the movement of data packets over a network as they define the rules and protocols for establishing connections between members. They provide the necessary mechanisms and protocols to ensure the efficient transmission, routing, and delivery of these packets across the network.

Waku is a transport-agnostic framework that allows developers to choose and support multiple protocols according to their specific requirements. For Waku nodes, the following transports are recommended:

  • TCP: By default, Waku nodes utilize TCP for communication. Service nodes should employ TCP for listening to and connecting with other nodes.
  • Secure WebSocket: In browser environments, secure WebSocket is used. Service nodes are encouraged to set up SSL certificates to enable incoming connections from browsers and serve them securely.
  • Other protocols like WebRTC, WebTransport, and QUIC have been researched and studied for potential integration.

:::info Waku ensures compatibility and improved communication capabilities by following these recommended transports. :::