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 328 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 on 13 May 2025, 13:29 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 13 May 2025, 13:50
    0
    • S SrisharanVS
      13 May 2025, 13:29

      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 on 13 May 2025, 13:50 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

      1/2

      13 May 2025, 13:29

      • Login

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