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. Hole Punching C#->PHP

Hole Punching C#->PHP

Scheduled Pinned Locked Moved C#
csharpphpcomquestionlounge
3 Posts 3 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.
  • E Offline
    E Offline
    evangile
    wrote on last edited by
    #1

    Well i have now a Chat P2P ready to work.(for now we need open gateway port manualy). For get through NAT i want use Hole punching methode that you guy sugested me). so i read a bit about that and got 3/4 the principe ;). now what i want to know is can i send from my chat APP a soket to a php file on a host (non dedicated). like i send my soket to port 80 on a host: http://www.codeproject.com/MySite/SoketListener.PHP then the file respond me and finaly open my port to other user?? the point of that is i wont let my own computer run 24/24 and do the relais. I know that i possibly just told a Enorme mistake but for me a soket is a soket and in any langage . What you sugest me to do for such P2P? can you clear also my mind also about the Hole Punching process and how open a port. i don't sea well why if i send soket A - >C B would be able use the same port without being invited to do and since A->C soket sessios has ended?.

    C 1 Reply Last reply
    0
    • E evangile

      Well i have now a Chat P2P ready to work.(for now we need open gateway port manualy). For get through NAT i want use Hole punching methode that you guy sugested me). so i read a bit about that and got 3/4 the principe ;). now what i want to know is can i send from my chat APP a soket to a php file on a host (non dedicated). like i send my soket to port 80 on a host: http://www.codeproject.com/MySite/SoketListener.PHP then the file respond me and finaly open my port to other user?? the point of that is i wont let my own computer run 24/24 and do the relais. I know that i possibly just told a Enorme mistake but for me a soket is a soket and in any langage . What you sugest me to do for such P2P? can you clear also my mind also about the Hole Punching process and how open a port. i don't sea well why if i send soket A - >C B would be able use the same port without being invited to do and since A->C soket sessios has ended?.

      C Offline
      C Offline
      Cosby
      wrote on last edited by
      #2

      hi guys where can i find punch hole examples in .net or php?? Please help me...I'm coming crazy... thanks

      M 1 Reply Last reply
      0
      • C Cosby

        hi guys where can i find punch hole examples in .net or php?? Please help me...I'm coming crazy... thanks

        M Offline
        M Offline
        Mohd Iliyas Ahmad
        wrote on last edited by
        #3

        There are few prof. that sells out idea how to implement using .net Are u ready to spend some $ for that?

        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