Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. LAN Communication for my Multiplayer Board Game on QT/QML
Forum Updated to NodeBB v4.3 + New Features

LAN Communication for my Multiplayer Board Game on QT/QML

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 2 Posters 96 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SrisharanVS
    wrote 22 days ago last edited by
    #1

    Hi everyone,
    I'm developing a multiplayer board game for Android devices using QML and C++. I've started going through some tutorials, but my understanding is still a bit unclear.
    As a starting point, I want to enable LAN communication so the game can send the board state to the opponent over the local network. I believe using TCP for communication after establishing the connection should work, but I'm unsure how to implement the LAN discovery part.

    Could anyone guide me on how to handle LAN discovery, establish a connection, and start communicating? If you know of any similar projects, tutorials, or helpful resources, I'd really appreciate it.

    P 1 Reply Last reply 22 days ago
    0
    • S SrisharanVS
      22 days ago

      Hi everyone,
      I'm developing a multiplayer board game for Android devices using QML and C++. I've started going through some tutorials, but my understanding is still a bit unclear.
      As a starting point, I want to enable LAN communication so the game can send the board state to the opponent over the local network. I believe using TCP for communication after establishing the connection should work, but I'm unsure how to implement the LAN discovery part.

      Could anyone guide me on how to handle LAN discovery, establish a connection, and start communicating? If you know of any similar projects, tutorials, or helpful resources, I'd really appreciate it.

      P Offline
      P Offline
      Pl45m4
      wrote 22 days ago last edited by
      #2

      @SrisharanVS said in LAN Communication for my Multiplayer Board Game on QT/QML:

      Could anyone guide me on how to handle LAN discovery, establish a connection, and start communicating? If you know of any similar projects, tutorials, or helpful resources, I'd really appreciate it.

      Start here

      • https://doc.qt.io/qt-6/qtnetwork-programming.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0

      2/2

      13 May 2025, 13:50

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved