LAN Communication for my Multiplayer Board Game on QT/QML
-
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.
-
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.
@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