15 lines
1.1 KiB
Markdown
Raw Normal View History

2023-05-14 06:18:41 +01:00
---
2023-05-21 01:32:38 +01:00
title: Transports
2023-05-14 06:18:41 +01:00
---
2023-05-16 17:52:01 +01:00
Transports help move data packets across a network by establishing connections between members. They define the rules and protocols to ensure efficient network transmission, routing, and data delivery.
2023-05-14 06:18:41 +01:00
2023-05-16 17:52:01 +01:00
Waku is a transport-agnostic framework that allows developers to choose and support multiple protocols according to their requirements. For Waku nodes, the following transports are recommended:
2023-05-14 06:18:41 +01:00
2023-05-22 11:53:23 +01:00
- **TCP:** By default, Waku nodes utilize TCP for communication. Service nodes should employ TCP for listening to and connecting with other peers.
2023-05-14 21:34:45 +01:00
- **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](https://github.com/waku-org/js-waku/issues/20), [WebTransport](https://github.com/waku-org/js-waku/issues/697), and QUIC have been researched and studied for potential integration.
2023-05-14 06:18:41 +01:00
2023-05-14 21:34:45 +01:00
:::info
Waku ensures compatibility and improved communication capabilities by following these recommended transports.
2023-05-14 14:23:15 +01:00
:::