Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtNetwork and enet library
Forum Updated to NodeBB v4.3 + New Features

QtNetwork and enet library

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 877 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.
  • Z Offline
    Z Offline
    Zanis
    wrote on last edited by
    #1

    Hello,

    My problem is I have an application which is using "enet" library to communicate through network. I'm developping an operator app, working as a server and written in Qt/Qml, which wil have to communicate with the first application. I would like to know if I can use QtNetwork for my operator/server app to manage connections, messages sending towards the first application ? Or will I be forced to use Enet library on the operator side ?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      deusinvictus
      wrote on last edited by
      #2

      I'm not familiar with enet, quickly looking it up it seems to be a UDP library. I can't see any reason why you couldn't used the QtNetwork Stack, you would just need to make sure you are using a UDP socket, and of course both ends are speaking the same data format. Depending on what platforms you are using, you also need to make sure each end is expecting the same endianness.

      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