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. Visual Basic
  4. changing ip's a problem...

changing ip's a problem...

Scheduled Pinned Locked Moved Visual Basic
sysadminhelptutoriallounge
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.
  • I Offline
    I Offline
    ineedhelp
    wrote on last edited by
    #1

    I'm creating a few programs for chat/email purposes. The idea was for there to be no central application and each program connect to the others kinda like in a p2p network (i think). I've not really got any idea how they are going to know what ip to connect to if each time the user connects to the net they get a new ip. I'm using networkstream and tcplistener/client because thats all I know how to use. Any ideas or even pointers towards classes better suited to this would be great. Thanks

    D 1 Reply Last reply
    0
    • I ineedhelp

      I'm creating a few programs for chat/email purposes. The idea was for there to be no central application and each program connect to the others kinda like in a p2p network (i think). I've not really got any idea how they are going to know what ip to connect to if each time the user connects to the net they get a new ip. I'm using networkstream and tcplistener/client because thats all I know how to use. Any ideas or even pointers towards classes better suited to this would be great. Thanks

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      That's the whole problem of any P2P network: finding peers. There's not a single solution and not a perfect solution. You can try connecting the last peers seen, have a central server for locating peers, or some always-on, highly-reliable peers. Yes, even I am blogging now!

      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