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 / C++ / MFC
  4. need help about p2p file transfer

need help about p2p file transfer

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelpquestion
4 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.
  • Y Offline
    Y Offline
    yanping wang
    wrote on last edited by
    #1

    i want to transfer file between two hosts in different LANs, but there are NATs. I searched on the website, and ackownlaged that i need a third party server, but i don't kown the detailes of programming:confused:. can anyone give me a way or some hints? i will be very gratefull.

    R T 2 Replies Last reply
    0
    • Y yanping wang

      i want to transfer file between two hosts in different LANs, but there are NATs. I searched on the website, and ackownlaged that i need a third party server, but i don't kown the detailes of programming:confused:. can anyone give me a way or some hints? i will be very gratefull.

      R Offline
      R Offline
      rocky_pulley
      wrote on last edited by
      #2

      Here is some code to get you started. printf("transferring files...\n"); /* Transfer files here */ printf("done!\n"); -- Rocky Dean Pulley -- DreamSys Software -- http://www.dreamsyssoft.com

      1 Reply Last reply
      0
      • Y yanping wang

        i want to transfer file between two hosts in different LANs, but there are NATs. I searched on the website, and ackownlaged that i need a third party server, but i don't kown the detailes of programming:confused:. can anyone give me a way or some hints? i will be very gratefull.

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        yanping wang wrote: want to transfer file between two hosts in different LANs, but there are NATs. You will need a central server to do that

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        Y 1 Reply Last reply
        0
        • T ThatsAlok

          yanping wang wrote: want to transfer file between two hosts in different LANs, but there are NATs. You will need a central server to do that

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          Y Offline
          Y Offline
          yanping wang
          wrote on last edited by
          #4

          yes. are there any code or articles about 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