Hi Matt,

first off I have to say I am not a network pro by any means,
but what I think I hear you saying you want to do,
sounds alot like the FTP protocal.

server listens
        client connects ;this will be the control port
        client opens local "Port Of Choose" ; say 8005
        client sends server the "Port Of Choose" number
server connects to client:8005
server inserts whatever into client:POC
        client is happy




On Mon, 10 Nov 2003, Matt MacDonald wrote:

>
> I realize this, but I still need to know how to do it.  I can handle any
> conflicts that arise, I just need to know the code to make it happen.
>
> Matt
> -------------
>
> On Mon, 10 Nov 2003, Matt MacDonald wrote:
>
> >
> >Anybody else have any thoughts on this?  Or is this an impossibility?
> >
> >Matt
>
> I will not claim impossibile, but can gaurentee it could not work in
> some cases. specificaly when the client is already using the port you
> specify.
>
>
> >
> >
> > >From: "Matt MacDonald" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: [REBOL] Re: Opening Specific Ports
> > >Date: Mon, 10 Nov 2003 09:35:47 -0500
> > >
> > >
> > >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-
>
> _________________________________________________________________
> Great deals on high-speed Internet access 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.
>
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to