Is there a way to make shure that all packets has been sent before issuing
a Shutdown and/or Close on a (TCP) Socket?
The problem is that the other end interprets a reset-flag (RST) on an IP-
packet as an indication of an error. Instead the finish-flag (FIN) must be
set, in order to close the
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
projecktzero wrote:
A co-worker considers himself old school in that he hasn't seen the
light of OOP ... He thinks that OOP has more overhead and is slower
than programs written the procedural way.
He may be right, but consider the alternatives.
Think of an integer. An integer is an object!