Menu
Zilliqa LogoZilliqa Developer Portal
BasicsDevelopersAPIsMinersExchangesStakingContributors
Zilliqa LogoZilliqa Developer Portal
  • Basics
  • Developers
  • APIs
  • Miners
  • Exchanges
  • Staking
  • Contributors
  • Contributors
    • Building Zilliqa
    • Contribution Guidelines
    • Protocol Standards
    • Bug Bounty Program
  • Core Protocol Design
    • Design Overview
      • General Node Operation
    • Consensus Layer
      • Consensus
      • Multisignatures
    • Network Layer
      • Gossip
      • Broadcasting
      • Blacklist
      • Messaging Limits
    • Messaging Layer
      • Message Dispatch and Processing
      • Message Queues and Jobs
    • Data Layer
      • Account Management
      • Transaction Lifecycle
      • Incremental DB
      • Scilla Operation
    • Directory Service
      • DS MIMO
      • DS Reputation
    • Lookup
      • Isolated Server
      • WebSocket Server
      • Transaction Dispatch
      • Multipliers
    • Mining
      • PoW Algorithm
      • Difficulty Adjustment
      • Proof of Reputation
      • Coinbase Rewards
      • Global Gas Price
    • Mitigation Measures
      • Guard Mode
      • Rejoin Mechanism
      • View Change
      • Diagnostic Data
      • Status Server

WebSocket Server


A lookup or seed node has the option (using ENABLE_WEBSOCKET) to enable a WebSocket server on port WEBSOCKET_PORT (4401 by default). The WebSocket server provides users (e.g., SDK clients) with a subscription-based data querying model as an alternative to polling.

Interacting with the WebSocket server is detailed in our Application Developers section.

The WebSocket server is implemented in libServer in the Zilliqa core, using the WebSocket++ C++ library.

Edit this page
Previous
« Isolated Server
Next
Transaction Dispatch »

Developer Groups

  • Discord
  • Telegram

Social

  • Twitter
  • Youtube

Other Links

  • Blog
  • GitHub
Copyright © 2019 Zilliqa Research Pte. Ltd.