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

LAN Communication for my Multiplayer Board Game on QT/QML

Scheduled Pinned Locked Moved Unsolved Game Development
2 Posts 2 Posters 41 Views
  • 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 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.

    Pl45m4P 1 Reply Last reply
    0
    • S SrisharanVS

      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.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote 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

      • Login

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