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?
QtWS25 Last Chance

UDP nat?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.3k 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.
  • 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
                Qt Champions 2022
                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
                http://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