The network rewrite...

Michael Rueger m.rueger at acm.org
Fri May 9 12:48:03 UTC 2003


goran.krampe at bluefish.se wrote:

> First of all it seems to very often go BOOM with a ConnectionTimedOut in
> Socket>>sendData: - immediately. I analyzed it a bit and it is on the
> first test - it hasn't even tried sending anything yet. If I added a
> pause like this:
> 
> 	| bytesSent bytesToSend count |
> 	bytesToSend _ aStringOrByteArray size.
> 	bytesSent _ 0.
> 	[bytesSent < bytesToSend] whileTrue: [
> (Delay forSeconds: 1) wait.

I remember that I had the same problems. I have to dig through my old 
email and check the older code version again.

> ...then it works. Oooh, I love those kind of problems! And of course, it
> doesn't show up if you step in the debugger.

It drove me nuts back then, not sure if I recovered ;-)

> ...and this seems to result in a String with 10 LFs in it. Hmmm, haven't
> looked deeper here so I can't give more feedback right now.

It almost seems that a fix I did is missing...

Thank you so much for testing!

Michael




More information about the Squeak-dev mailing list