I understand how to do that, but what I want to do is have the client 
computer connect to a server port (in your case 9005) and also control what 
port the client uses to make that connection.  For instance say something 
like:

server:
l: open tcp://:9005
s: first l

client:
c: open tcp://:(ip-address):9005 on 8005

So that I know that the client computer will always be opening port 8005 to 
connect to port 9005 on the server.

Matt

--------------------------------------------------------

Matt MacDonald wrote:

>How can I control what port (on the client side) gets opened when 
>connecting to a TCP server?  I know you can control which port on the 
>server it connects to, but not where it connects from.
>
>Matt
>
>_________________________________________________________________
>MSN Shopping upgraded for the holidays!  Snappier product search... 
>http://shopping.msn.com
>
>
>
console 1:

server: open tcp://:9005
conn: first wait server

console 2:
client: open tcp://172.0.0.1:9005
probe client

watch for following object words:
    local-port: 1786
    remote-port: 9005

HTH,
-pekr-

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to