15 lines
1.1 KiB
Markdown
Raw Normal View History

2023-05-14 06:18:41 +01:00
---
title: Transports in Waku
---
2023-05-14 21:34:45 +01:00
Transports facilitate data packet movement across networks with TCP and UDP being standard protocols. However, alternatives are at lower (Ethernet, Bluetooth) and higher (QUIC) levels. Waku, aiming to be transport agnostic, enables developers to choose and support multiple protocols based on their needs.
2023-05-14 06:18:41 +01:00
The recommended transports for Waku nodes are as follows:
2023-05-14 21:34:45 +01:00
- **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](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
:::