Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Simple TCP "relay" or "proxy"

Reply
Thread Tools

Simple TCP "relay" or "proxy"

 
 
Tomas Christiansen
Guest
Posts: n/a
 
      05-13-2005
Im trying to make a simple TCP socket "relay" or "proxy", but my skills in
Python are not high (yet).

The only thing it should do, is to open the connection on behalf of the
client, and when the client closes the connection, it should do so too.
It's going to "relay" PCL and/or PostScript printjobs to a TCP/IP printer.

Does anyone have some sugggestions on code-examples? I've tried googling
around, but couldn'r find anythin usefull.

-------
Tomas
 
Reply With Quote
 
 
 
 
Dave Benjamin
Guest
Posts: n/a
 
      05-13-2005
Tomas Christiansen wrote:
> Im trying to make a simple TCP socket "relay" or "proxy", but my skills in
> Python are not high (yet).


http://aspn.activestate.com/ASPN/Coo.../Recipe/114642
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
send tcp raw socket (bogus tcp header length) Tiger C Programming 5 05-01-2006 05:53 AM
tcp/ip vs microsoft tcp/ip ver 6 john Computer Support 1 08-05-2005 02:45 PM
NAT two outside TCP ports to one inside TCP port Kevin Cisco 1 11-10-2004 08:15 AM
Secure and compressed TCP/IP connection (for any TCP/IP services and applications) Pavel Aronovich Computer Security 0 02-22-2004 08:35 AM
LPR/Standard, TCP/IP, HP TCP/IP Ports DJ Chiro MCSE 1 11-07-2003 08:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57