Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. STUN/NAT Traversal -> Connecting Problem

STUN/NAT Traversal -> Connecting Problem

Scheduled Pinned Locked Moved C#
databasecomsysadminhelpquestion
2 Posts 2 Posters 0 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.
  • S Offline
    S Offline
    softwarejaeger
    wrote on last edited by
    #1

    Hello, i've downloaded the STUN-Client from codeproject.com and want now to let two clients connect each other. At first, i create a UdpClient and make a STUN-Query with that. After it, i send the mapped addresses to a server, which deploys them to the two clients. Now they want to connect each other and i make a UdpClient.Connect(mappedIP). This _should_ work, but the problem is, i only get messages from the STUN-Server. I send the data via "UdpClient.Client.SendTo(...)" to my client, but nothing works. I just get crptic messages from the STUN-Server. I've closed the UdpClient. Disconnected and so on, but nothing helps. Has anybody a solution for me?

    P 1 Reply Last reply
    0
    • S softwarejaeger

      Hello, i've downloaded the STUN-Client from codeproject.com and want now to let two clients connect each other. At first, i create a UdpClient and make a STUN-Query with that. After it, i send the mapped addresses to a server, which deploys them to the two clients. Now they want to connect each other and i make a UdpClient.Connect(mappedIP). This _should_ work, but the problem is, i only get messages from the STUN-Server. I send the data via "UdpClient.Client.SendTo(...)" to my client, but nothing works. I just get crptic messages from the STUN-Server. I've closed the UdpClient. Disconnected and so on, but nothing helps. Has anybody a solution for me?

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      softwarejaeger wrote:

      i've downloaded the STUN-Client from codeproject.com

      I assume this is from an article somewhere? If so, the appropriate place to ask this question is on the article forum. It's extremely unlikely that the author will just happen to stumble across your question and answer it. It's even less likely that somebody else will take the time to download this software, and debug it for you to see what's going wrong.

      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Onyx

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups