Results 1 to 2 of 2

Thread: Port Mapping

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Chester, UK
    Posts
    9

    Question Port Mapping

    Hi,

    I need someway of mapping ports in VB.

    What I am trying to do is receive data on a particular port on my PC, and forward it out to another computer on the net...

    So - PC on my LAN sends data to a pre selected port on my PC
    my PC says hmmmmm, looks good - and forwards it to a preset port on a computer on the internet

    Any ideas?

    Thanks

    Philip

  2. #2
    Lively Member rekcus's Avatar
    Join Date
    Jan 1999
    Location
    Kuala Lumpur
    Posts
    122
    Sounds like a proxy server to me. To accomplish that I would run a TCP Server on "my pc" to receive data on a particular port. To send data to a Net pc on the Internet, first establish a TCP connection between "my pc" and the Net pc. Then, send whatever it is to this pc on your chosen port.
    Your connection to the Net pc should be initiated by a client TCP on "my pc". Therefore, you need a TCP Server to be running on the Net pc.

    Regs,
    penyou!

    "The code bytes.."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width