Set both LOCAL and TARGET port on socket... (C not C++ - Windows XP Pro - LCC Compiler)
Posted on 2004-11-21
I have written a socket server program that is working just fine. However, I want to be able to go OUT through my firewall on one specific port "6190" and hit the target server program on port "62781".
I can hit the target server program on port "62781" fine and establish a working connection great but I want to go out on this specific local port "6190" and not just whatever port Windows slaps me on!
Hope someone has a clue as I seem to have exhausted my search words in google.