Skip to main content
Version: v3

Module Introduction

Important Attention Reminder

Coding Style wiki


Basic Introduction

Network Module, network events are categorized into OnOpen, OnBinary, OnMessage, OnError, OnClose, and also implements multi-node (NetNode) support. Additionally, you can configure heartbeat detection callback, timeout handling callback, reconnection callback, and implement the INetTips network message interface.


How to Use

  • NetManager (Network Node Manager)
  • NetNode (Network Node)
  • INetProvider (Network Provider Interface)
    • TcpNetProvider (TCP)
    • KcpNetProvider (KCP)
    • WebSocketNetProvider (WebSocket)
  • NetOption (Connection Configuration)
    • TcpNetOption
    • KcpNetOption
    • WebSocketNetOption
  • INetTips (Network Status Notification Interface)

Attention The following NetProviders are provided (can be extended):

  • TCP
  • KCP
  • WebSocket