server.available() ???

Does anyone know why running server.available() on an initialised EthernetServer
telnet server hangs the sketch? This is using Arduino 1.0.1 on linux. Is there any
way of detecting an incoming packet apart from the available() call? I've cut the
sketch down to the bare minimum - it's the one I posted a day or so ago - and
there seems no way of communicating with the Arduino Ethernet, even though
ping now works.

Thanks - Will

I thought at least you would have tried it. Now I'm curious to see if it works for you. Maybe you are not frustrated enough yet?

edit: This is from your previous post:

I don't think turning off the SD port is needed, either - the sketch works ok without it;

It does?

Sorry, I was talking about another post of mine. Yes, I tried the code
you posted and no, it didn't work - the system just hung.

I'm slowly losing heart; I've spent around ten days now on this problem,
and it's only thanks to this forum that I've even got the Arduino to handle
ICMP. It looks as if that's its limit, but whether it's a bad board or bad
software I have no idea.

Thanks for the suggestion, anyway - Will

Have you tried any of the web server example code? Have you tried any of zoomkat's server code? Do you have the same problem with those?

I've cut the sketch down to the bare minimum - it's the one I posted a day or so ago

You probably need to post your current code as my time machine is in the shop.

SurferTim:
Have you tried any of the web server example code? Have you tried any of zoomkat's server code? Do you have the same problem with those?

I've tried half a dozen different sketches from around the net, both telnet and HTTP; generally
they can be cut down to very similar formats. None of them work, and I think I have to accept
that it's beyond my skills to fix them. The problem, as I said, may be hardware or software,
but at the moment fixing either isn't practical.

Will

cwrose:

SurferTim:
Have you tried any of the web server example code? Have you tried any of zoomkat's server code? Do you have the same problem with those?

I've tried half a dozen different sketches from around the net, both telnet and HTTP; generally
they can be cut down to very similar formats. None of them work, and I think I have to accept
that it's beyond my skills to fix them. The problem, as I said, may be hardware or software,
but at the moment fixing either isn't practical.

Will

Well, bottom line, if you can't answer that question yes or no, then a technical forum and a technical project isn't for you. sorry.