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. UDP nat?
Qt 6.11 is out! See what's new in the release blog

UDP nat?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.6k 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.
  • F Offline
    F Offline
    foxgod
    wrote on last edited by
    #1

    how to come true udp p2p from one LAN to another LAN by QT?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gyll
      wrote on last edited by
      #2

      this has nothing to do with Qt, going through NATs is a killer.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        foxgod
        wrote on last edited by
        #3

        who can help me ?

        1 Reply Last reply
        0
        • F Offline
          F Offline
          foxgod
          wrote on last edited by
          #4

          i read some code about p2pclient and p2pserver ,but it can't come true .

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gyll
            wrote on last edited by
            #5

            again, p2p through NAT is a KILLER, and you obviously have no clue what you're up against. take a look here: http://p2p-os.blogspot.com

            1 Reply Last reply
            0
            • F Offline
              F Offline
              foxgod
              wrote on last edited by
              #6

              [quote author="gyll" date="1410778908"]again, p2p through NAT is a KILLER, and you obviously have no clue what you're up against. take a look here: http://p2p-os.blogspot.com[/quote]

              my server has gotten clientA and clientB’s LAN’s ip and port ,now clientA send a message to clientB , server tell clientB to connecte clientA. clientB is start to connecte clientA, but both are not get message from each other.

              1 Reply Last reply
              0
              • dheerendraD Offline
                dheerendraD Offline
                dheerendra
                Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
                wrote on last edited by
                #7

                what is the ip address assigned to each client ? Also if it through NAT Qt has no role to play.

                Dheerendra
                @Community Service
                Certified Qt Specialist
                https://www.pthinks.com

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  foxgod
                  wrote on last edited by
                  #8

                  [quote author="Dheerendra" date="1410830648"]what is the ip address assigned to each client ? Also if it through NAT Qt has no role to play.[/quote]

                  i have a server ,it has a public IP, clientA and clientB send a message to server ,server records clientA and clientB's ip and port from udpsocket.

                  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