port doubling (or...)?

Cliff Wells logiplexsoftware at earthlink.net
Mon Jan 21 17:51:12 EST 2002


On Mon, 21 Jan 2002 22:48:51 -0000
maximilianscherr wrote:

> > can you run the server on a diffrent port? you could filter 
> incomming 
> > requests on your server running on the original port and just pass 
> along 
> > the ones you not interested in to the original server.
> > this could also be done with two machines, without changing ports.
> > 
> 
> the uo client / server stuff works like this:
> specify:
> server: ip(s, yes ips,just checked), some port , mine: 5003
> client: server ip, sertver port.
> 
> what can i do with this?,

The logic is very simple, the implementation less so, but still not too
difficult:

- configure your uo server to listen on port A
- configure your Python program to listen on port B
- configure your uo client to transmit to port B
- your Python server then accepts all packets on port B, and then forwards
whatever ones it isn't interested in to port A
- anything your Python program receives from port A it forwards to the
client

Basically, to the server, it looks like your Python program is the client,
and to the client, it looks like the Python program is the server.


-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list