On Fri, 18 Aug 2000 18:18:33 GMT,
> I got a problem same as Mr. Verbruggen.
Are you referring to this Mr. Verbruggen? Because I can't recall ever
having had the problem you describe :) I think you'll find that I
supplied an answer in that thread, not the question.
Quote:> Is there any way to detect a disconnected socket with no sending?
Someone else already suggested poll. But let me add that maybe you're
thinking about it the wrong way, in not wanting to use send. If you need
to send something, do so. If that fails, close the connection. If you
feel you need to read, do so. If you get eof, close. There wis hardly
ever any real need to use poll.
Martien Verbruggen |
Interactive Media Division | Useful Statistic: 75% of the people
Commercial Dynamics Pty. Ltd. | make up 3/4 of the population.
NSW, Australia |