Port Mapping (Winsock API)
Posted on 2002-05-25
Just wondering if anyone can provide me with an example on how to map a tcp port to a remote host/port. i need it to allow multiple clients to connect to the port, and redirect data to/from the remote host. a feature that isn't neccesary, but would help would be the ability to have multiple mappings, and an ability to enumerate/stop them. i've been trying to do something like this for a while, with no luck. thank you for any help. (please note i am doing this in Winsock API, i am not interested in code which uses components).