On 28/03/07, Josiah Carlson email@example.com wrote:
Well, there's also the problem that sockets, files, and pipes behave differently on Windows.
Windows named pipes have a native message mode.
If one is only concerned about sockets, there are various lightly defined protocols that can be simply implemented on top of asyncore/asynchat, among them is the sending of a 32 bit length field in network-endian order, followed by the data to be sent immediately afterwards.
That's exactly what I was doing.